aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-screenshot/MainUI.h
diff options
context:
space:
mode:
authorTrenton Schulz <trentonw@ifi.uio.no>2017-02-05 17:54:13 +0100
committerTrenton Schulz <trentonw@ifi.uio.no>2017-02-05 17:54:13 +0100
commit2f7d913989fbc4421b5ade96a6015e319eae86b3 (patch)
treea5235db820e0dad465bd90b3d7b3c7fb9ccf0d04 /src-qt5/desktop-utils/lumina-screenshot/MainUI.h
parentCommit my work-in-progress on a new NativeWindowSystem class. (diff)
downloadlumina-2f7d913989fbc4421b5ade96a6015e319eae86b3.tar.gz
lumina-2f7d913989fbc4421b5ade96a6015e319eae86b3.tar.bz2
lumina-2f7d913989fbc4421b5ade96a6015e319eae86b3.zip
Better messageboxes for closing the screenshot app.
Instead of a Yes/No question that requires you to read the text of the message box and decide what to do, let's give the buttons good names so we know what the command will do. Inspired by hitting "no" multiple times when I accidently hit the shortcut key to take a screenshot. (assuming it was asking "do you want to save").
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot/MainUI.h')
-rw-r--r--src-qt5/desktop-utils/lumina-screenshot/MainUI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/MainUI.h b/src-qt5/desktop-utils/lumina-screenshot/MainUI.h
index 5ff496a5..4a18ef74 100644
--- a/src-qt5/desktop-utils/lumina-screenshot/MainUI.h
+++ b/src-qt5/desktop-utils/lumina-screenshot/MainUI.h
@@ -41,7 +41,7 @@ public slots:
private:
Ui::MainUI *ui;
- bool mousegrabbed, picSaved;
+ bool mousegrabbed, picSaved, closeOnSave;
QRect lastgeom;
QString ppath; //previous file path
WId cwin; //current window to screenshot
bgstack15