mirror of
https://github.com/theCheeseboard/thedesk.git
synced 2025-01-23 10:52:02 -05:00
Fix compilation
This commit is contained in:
parent
2fe0cc8312
commit
be66807b44
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue