mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-28 05:35:43 -04:00
Qt: Fix crash on startup with autoboot
This commit is contained in:
parent
d8d18d49eb
commit
49b4e1f0a6
@ -2189,9 +2189,9 @@ bool QtHost::ParseCommandLineParametersAndInitializeConfig(QApplication& app,
|
|||||||
#undef CHECK_ARG_PARAM
|
#undef CHECK_ARG_PARAM
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!autoboot || !autoboot->filename.empty())
|
if (autoboot && !autoboot->filename.empty())
|
||||||
autoboot->filename += ' ';
|
autoboot->filename += ' ';
|
||||||
autoboot->filename += args[i].toStdString();
|
AutoBoot(autoboot)->filename += args[i].toStdString();
|
||||||
}
|
}
|
||||||
|
|
||||||
// To do anything useful, we need the config initialized.
|
// To do anything useful, we need the config initialized.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user