Changeset View
Changeset View
Standalone View
Standalone View
importer/importdialog.cpp
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | 53 | public: | |||
---|---|---|---|---|---|
141 | } | 141 | } | ||
142 | 142 | | |||
143 | void startGwenview() | 143 | void startGwenview() | ||
144 | { | 144 | { | ||
145 | KService::Ptr service = KService::serviceByDesktopName("org.kde.gwenview"); | 145 | KService::Ptr service = KService::serviceByDesktopName("org.kde.gwenview"); | ||
146 | if (!service) { | 146 | if (!service) { | ||
147 | qCritical() << "Could not find gwenview"; | 147 | qCritical() << "Could not find gwenview"; | ||
148 | } else { | 148 | } else { | ||
149 | KRun::run(*service, {mThumbnailPage->destinationUrl()}, 0 /* window */); | 149 | KRun::runService(*service, {mThumbnailPage->destinationUrl()}, 0 /* window */); | ||
150 | } | 150 | } | ||
151 | } | 151 | } | ||
152 | 152 | | |||
153 | void showWhatNext() | 153 | void showWhatNext() | ||
154 | { | 154 | { | ||
155 | mCentralWidget->setCurrentWidget(mDialogPage); | 155 | mCentralWidget->setCurrentWidget(mDialogPage); | ||
156 | mDialogPage->setText(i18n("What do you want to do now?")); | 156 | mDialogPage->setText(i18n("What do you want to do now?")); | ||
157 | mDialogPage->removeButtons(); | 157 | mDialogPage->removeButtons(); | ||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |