mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 08:43:08 -07:00
Merge pull request #6760 from evsh/fix-6759
Fix crash when entering daemon mode. Closes #6759.
This commit is contained in:
commit
94909d9b92
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue