mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
konsole: pass the service entry path to KToolInvocation::startServiceByStorageId()
fixes regression since 957da2bb43
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c90b03837f
commit
fb92498235
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ void SessionController::updateOpenWithMenu(const QString &selectedText)
|
|||
for(KService::List::Iterator it = offers.begin(); it != offers.end(); ++it) {
|
||||
KService::Ptr service = *it;
|
||||
KAction *action = new KAction(KIcon(service->icon()), service->name(), _openWithMenu);
|
||||
const QStringList actionData = QStringList() << service->exec() << searchText;
|
||||
const QStringList actionData = QStringList() << service->entryPath() << searchText;
|
||||
action->setData(actionData);
|
||||
connect(action, SIGNAL(triggered()), this, SLOT(handleOpenWithAction()));
|
||||
_openWithMenu->addAction(action);
|
||||
|
|
Loading…
Add table
Reference in a new issue