Enable portable mode if "profile" directory exists

Enable portable mode if "profile" directory exists in the app dir.
Remove "--portable" command line argument.
Add logging of current profile config directory.
Closes #9445.
This commit is contained in:
Tester798
2019-12-08 05:00:44 +02:00
parent 0b91c4d890
commit 053ee48692
4 changed files with 12 additions and 22 deletions

View File

@@ -42,7 +42,7 @@ class QProcessEnvironment;
struct QBtCommandLineParameters
{
bool showHelp, relativeFastresumePaths, portableMode, skipChecking, sequential, firstLastPiecePriority;
bool showHelp, relativeFastresumePaths, skipChecking, sequential, firstLastPiecePriority;
#if !defined(Q_OS_WIN) || defined(DISABLE_GUI)
bool showVersion;
#endif