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>
This commit is contained in:
Boris Barbulovski 2014-02-08 23:56:47 +01:00 committed by Dirk Hohndel
parent 449c6fc6f2
commit aeaa050306
3 changed files with 14 additions and 14 deletions

View file

@ -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();