summaryrefslogtreecommitdiff
path: root/src/gui/textdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/textdialog.h')
-rw-r--r--src/gui/textdialog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/textdialog.h b/src/gui/textdialog.h
index 6db09e71..825d9ddc 100644
--- a/src/gui/textdialog.h
+++ b/src/gui/textdialog.h
@@ -43,8 +43,7 @@ public:
*/
TextDialog(const std::string &title, const std::string &msg,
Window *parent = NULL);
-
-
+
~TextDialog();
/**
@@ -61,8 +60,8 @@ public:
* Set the OK button action id
*/
void setOKButtonActionId(const std::string &name);
-
- static const bool isActive() { return instances > 0; }
+
+ static bool isActive() { return instances > 0; }
private:
static int instances;