summaryrefslogtreecommitdiff
path: root/src/gui/windows/editdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 01:27:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:19 +0300
commit031a455d23a5b04bb2bcd32e43a946fd60be7c6a (patch)
tree1ed266901fd0b29f9b76ffab952e9150118666be /src/gui/windows/editdialog.h
parente8a57a478963950d2bf0ad5614e5f16240237b03 (diff)
downloadplus-031a455d23a5b04bb2bcd32e43a946fd60be7c6a.tar.gz
plus-031a455d23a5b04bb2bcd32e43a946fd60be7c6a.tar.bz2
plus-031a455d23a5b04bb2bcd32e43a946fd60be7c6a.tar.xz
plus-031a455d23a5b04bb2bcd32e43a946fd60be7c6a.zip
move virtual member calls from editdialog constuctor into postInit.
Diffstat (limited to 'src/gui/windows/editdialog.h')
-rw-r--r--src/gui/windows/editdialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windows/editdialog.h b/src/gui/windows/editdialog.h
index 4199b6791..ce5160906 100644
--- a/src/gui/windows/editdialog.h
+++ b/src/gui/windows/editdialog.h
@@ -52,6 +52,8 @@ class EditDialog final : public Window, public gcn::ActionListener
A_DELETE_COPY(EditDialog)
+ void postInit() override;
+
/**
* Called when receiving actions from the widgets.
*/
@@ -62,8 +64,8 @@ class EditDialog final : public Window, public gcn::ActionListener
private:
std::string mEventOk;
-
TextField *mTextField;
+ int mDefaultWidth;
};
#endif // GUI_WINDOWS_EDITDIALOG_H