diff options
author | Boris Barbulovski <bbarbulovski@gmail.com> | 2014-02-08 23:56:47 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-09 08:19:38 -0800 |
commit | aeaa0503069f2f1f095afed6f19d4fefa19a5385 (patch) | |
tree | e30d84022b4e8cc6924be7fb3a4ffcd26a1d5e05 /qt-ui/simplewidgets.h | |
parent | 449c6fc6f2cd17bc9c4322aabc32f2b2bf88a220 (diff) | |
download | subsurface-aeaa0503069f2f1f095afed6f19d4fefa19a5385.tar.gz |
ShiftImageTimesDialog class cleanup.
* Remove static ShiftImageTimesDialog::instance() method
* Add ShiftImageTimesDialog::amount() member
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r-- | qt-ui/simplewidgets.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h index b8097b55a..d17bac016 100644 --- a/qt-ui/simplewidgets.h +++ b/qt-ui/simplewidgets.h @@ -58,13 +58,13 @@ private: class ShiftImageTimesDialog : public QDialog { Q_OBJECT public: - static ShiftImageTimesDialog *instance(); - int amount; + explicit ShiftImageTimesDialog(QWidget *parent); + int amount() const; private slots: void buttonClicked(QAbstractButton *button); private: - explicit ShiftImageTimesDialog(QWidget *parent); Ui::ShiftImageTimesDialog ui; + int m_amount; }; bool isGnome3Session(); |