Merge pull request #6760 from evsh/fix-6759

Fix crash when entering daemon mode. Closes #6759.
This commit is contained in:
sledgehammer999 2017-05-08 19:15:46 +03:00 committed by GitHub
commit 94909d9b92

View file

@ -134,7 +134,7 @@ int main(int argc, char *argv[])
migrateRSS();
#endif
const QBtCommandLineParameters &params = app->commandLineArgs();
const QBtCommandLineParameters params = app->commandLineArgs();
if (!params.unknownParameter.isEmpty()) {
throw CommandLineParameterError(QObject::tr("%1 is an unknown command line parameter.",