mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
workaround on krun being broken on wayland
This commit is contained in:
parent
949e672e75
commit
e702559b85
1 changed files with 5 additions and 1 deletions
|
|
@ -23,6 +23,7 @@
|
||||||
// Qt
|
// Qt
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QModelIndex>
|
#include <QModelIndex>
|
||||||
|
#include <QProcess>
|
||||||
|
|
||||||
// KDE
|
// KDE
|
||||||
#include <KPluginInfo>
|
#include <KPluginInfo>
|
||||||
|
|
@ -133,7 +134,10 @@ void ApplicationListModel::runApplication(const QString &storageId) {
|
||||||
}
|
}
|
||||||
|
|
||||||
KService::Ptr service = KService::serviceByStorageId(storageId);
|
KService::Ptr service = KService::serviceByStorageId(storageId);
|
||||||
KRun::run(*service, QList<QUrl>(), 0);
|
|
||||||
|
//FIXME: port KRun::run to wayland
|
||||||
|
QProcess::startDetached(service->exec());
|
||||||
|
//KRun::run(*service, QList<QUrl>(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "applicationlistmodel.moc"
|
#include "applicationlistmodel.moc"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue