fix os2
This commit is contained in:
parent
a34d978ca0
commit
239a0d2f7e
1 changed files with 5 additions and 0 deletions
|
@ -374,7 +374,12 @@ void Application::parseCmdArgumentsFromOtherInstance(const QString& message) {
|
||||||
<< QUOTE_W_SPACE(message)
|
<< QUOTE_W_SPACE(message)
|
||||||
<< "execution message.";
|
<< "execution message.";
|
||||||
|
|
||||||
|
#if QT_VERSION >= 0x050F00 // Qt >= 5.15.0
|
||||||
QStringList messages = message.split(ARGUMENTS_LIST_SEPARATOR, Qt::SplitBehaviorFlags::SkipEmptyParts);
|
QStringList messages = message.split(ARGUMENTS_LIST_SEPARATOR, Qt::SplitBehaviorFlags::SkipEmptyParts);
|
||||||
|
#else
|
||||||
|
QStringList messages = message.split(ARGUMENTS_LIST_SEPARATOR, QString::SplitBehaviorFlags::SkipEmptyParts);
|
||||||
|
#endif
|
||||||
|
|
||||||
QCommandLineParser cmd_parser;
|
QCommandLineParser cmd_parser;
|
||||||
|
|
||||||
messages.prepend(qApp->applicationFilePath());
|
messages.prepend(qApp->applicationFilePath());
|
||||||
|
|
Loading…
Add table
Reference in a new issue