mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-26 22:44:36 +00:00
Merge pull request #6760 from evsh/fix-6759
Fix crash when entering daemon mode. Closes #6759.
This commit is contained in:
commit
94909d9b92
@ -134,7 +134,7 @@ int main(int argc, char *argv[])
|
|||||||
migrateRSS();
|
migrateRSS();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const QBtCommandLineParameters ¶ms = app->commandLineArgs();
|
const QBtCommandLineParameters params = app->commandLineArgs();
|
||||||
|
|
||||||
if (!params.unknownParameter.isEmpty()) {
|
if (!params.unknownParameter.isEmpty()) {
|
||||||
throw CommandLineParameterError(QObject::tr("%1 is an unknown command line parameter.",
|
throw CommandLineParameterError(QObject::tr("%1 is an unknown command line parameter.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user