Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
vicr123 committed Jun 17, 2020
1 parent 2fe0cc8 commit be66807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libthedesk/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ QStringList Application::getStringList(QString propertyName, QStringList default
if (!d->isValid) return QStringList();

QString property = getProperty(propertyName, defaultValue).toString();
return property.split(";", QString::SkipEmptyParts);
return property.split(";", Qt::SkipEmptyParts);
}

QStringList Application::allApplications(QStringList searchPaths) {
Expand Down Expand Up @@ -210,7 +210,7 @@ void Application::launch() {
commandSpace.replaceInStrings("%%", "%");

QString finalCommand = commandSpace.join(" ");
process->start(finalCommand);
process->start(finalCommand, QStringList());
QObject::connect(process, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), [ = ](int exitCode, QProcess::ExitStatus exitStatus) {
process->deleteLater();
});
Expand Down

0 comments on commit be66807

Please sign in to comment.