Commit f88f16e5 authored by Méven Car's avatar Méven Car
Browse files

SlideShowFileItemAction: Fix error in parameters passed for slideshow

parent ebfb9636
...@@ -76,7 +76,7 @@ QList<QAction*> SlideShowFileItemAction::actions(const KFileItemListProperties& ...@@ -76,7 +76,7 @@ QList<QAction*> SlideShowFileItemAction::actions(const KFileItemListProperties&
connect(startSlideShowAction, &QAction::triggered, this, [=]() { connect(startSlideShowAction, &QAction::triggered, this, [=]() {
// gwenview -s %u // gwenview -s %u
auto job = new KIO::CommandLauncherJob(QStringLiteral("gwenview"), QStringList("s-") << itemsForSlideShow); auto job = new KIO::CommandLauncherJob(QStringLiteral("gwenview"), QStringList("-s") << itemsForSlideShow);
job->setDesktopName("org.kde.gwenview"); job->setDesktopName("org.kde.gwenview");
job->setUiDelegate(new KNotificationJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled)); job->setUiDelegate(new KNotificationJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment