Changeset View
Changeset View
Standalone View
Standalone View
src/SpectacleCore.cpp
Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Line(s) | 251 | case StartMode::Background: | |||
---|---|---|---|---|---|
252 | showErrorMessage(i18n("Screenshot capture canceled or failed")); | 252 | showErrorMessage(i18n("Screenshot capture canceled or failed")); | ||
253 | emit allDone(); | 253 | emit allDone(); | ||
254 | return; | 254 | return; | ||
255 | case StartMode::DBus: | 255 | case StartMode::DBus: | ||
256 | emit grabFailed(); | 256 | emit grabFailed(); | ||
257 | emit allDone(); | 257 | emit allDone(); | ||
258 | return; | 258 | return; | ||
259 | case StartMode::Gui: | 259 | case StartMode::Gui: | ||
260 | mMainWindow->activateWindow(); | ||||
260 | mMainWindow->show(); | 261 | mMainWindow->show(); | ||
261 | } | 262 | } | ||
262 | } | 263 | } | ||
263 | 264 | | |||
264 | void SpectacleCore::doNotify(const QUrl &theSavedAt) | 265 | void SpectacleCore::doNotify(const QUrl &theSavedAt) | ||
265 | { | 266 | { | ||
266 | KNotification *lNotify = new KNotification(QStringLiteral("newScreenshotSaved")); | 267 | KNotification *lNotify = new KNotification(QStringLiteral("newScreenshotSaved")); | ||
267 | 268 | | |||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |