mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +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
|
||||
#include <QByteArray>
|
||||
#include <QModelIndex>
|
||||
#include <QProcess>
|
||||
|
||||
// KDE
|
||||
#include <KPluginInfo>
|
||||
|
|
@ -133,7 +134,10 @@ void ApplicationListModel::runApplication(const QString &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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue