Browse Source

Merge pull request #6760 from evsh/fix-6759

Fix crash when entering daemon mode. Closes #6759.
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
94909d9b92
  1. 2
      src/app/main.cpp

2
src/app/main.cpp

@ -134,7 +134,7 @@ int main(int argc, char *argv[])
migrateRSS(); migrateRSS();
#endif #endif
const QBtCommandLineParameters &params = 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…
Cancel
Save