mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-07 23:57:27 +03:00
0f746ffd5a
It may be useful to have different configurations either for portable versions or for debugging purposes. To implement this we add two options, avaliable via command line switches 1. An option to change configuration name ("--configuration"). The name supplied via this option is appended to QCoreApplication::applicationName() to form "qBittorrent_<conf_name>" name for the configuration files. 2. An option to provide a path do directory where all the settings are stored (kind of profile directory). There is a shortcut "--portable" which means "use directory 'profile' near the executable location". In order to implement that we have to perform initialisation of the profile directories before the SettingStorage and Preferences singletones are initialised. Thus, options parsing shall be performed without defaults read from preferences. |
||
---|---|---|
.. | ||
private | ||
rssarticle.cpp | ||
rssarticle.h | ||
rssdownloadrule.cpp | ||
rssdownloadrule.h | ||
rssdownloadrulelist.cpp | ||
rssdownloadrulelist.h | ||
rssfeed.cpp | ||
rssfeed.h | ||
rssfile.cpp | ||
rssfile.h | ||
rssfolder.cpp | ||
rssfolder.h | ||
rssmanager.cpp | ||
rssmanager.h |