Changeset View
Changeset View
Standalone View
Standalone View
src/SpectacleCore.cpp
Show First 20 Lines • Show All 274 Lines • ▼ Show 20 Line(s) | 274 | case StartMode::Background: | |||
---|---|---|---|---|---|
275 | showErrorMessage(i18n("Screenshot capture canceled or failed")); | 275 | showErrorMessage(i18n("Screenshot capture canceled or failed")); | ||
276 | emit allDone(); | 276 | emit allDone(); | ||
277 | return; | 277 | return; | ||
278 | case StartMode::DBus: | 278 | case StartMode::DBus: | ||
279 | emit grabFailed(); | 279 | emit grabFailed(); | ||
280 | emit allDone(); | 280 | emit allDone(); | ||
281 | return; | 281 | return; | ||
282 | case StartMode::Gui: | 282 | case StartMode::Gui: | ||
283 | mMainWindow->activateWindow(); | ||||
283 | mMainWindow->show(); | 284 | mMainWindow->show(); | ||
284 | } | 285 | } | ||
285 | } | 286 | } | ||
286 | 287 | | |||
287 | void SpectacleCore::doNotify(const QUrl &theSavedAt) | 288 | void SpectacleCore::doNotify(const QUrl &theSavedAt) | ||
288 | { | 289 | { | ||
289 | KNotification *lNotify = new KNotification(QStringLiteral("newScreenshotSaved")); | 290 | KNotification *lNotify = new KNotification(QStringLiteral("newScreenshotSaved")); | ||
290 | 291 | | |||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |