diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-06 20:57:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-06 22:58:35 +0300 |
commit | 4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f (patch) | |
tree | a776928bb1339cdd29eb2e54d50eb3fa6e3448d7 /src/gui/editdialog.cpp | |
parent | 22ed653d8b630c813333d5c73a4ca02dede2a5a5 (diff) | |
download | ManaVerse-4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f.tar.gz ManaVerse-4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f.tar.bz2 ManaVerse-4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f.tar.xz ManaVerse-4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f.zip |
Improve constructors in some classes.
Diffstat (limited to 'src/gui/editdialog.cpp')
-rw-r--r-- | src/gui/editdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editdialog.cpp b/src/gui/editdialog.cpp index f4a71b47e..cb96adca3 100644 --- a/src/gui/editdialog.cpp +++ b/src/gui/editdialog.cpp @@ -35,11 +35,11 @@ EditDialog::EditDialog(const std::string &title, const std::string &msg, std::string eventOk, const int width, Window *const parent, const bool modal): - Window(title, modal, parent, "edit.xml") + Window(title, modal, parent, "edit.xml"), + ActionListener(), + mTextField(new TextField) { - mTextField = new TextField; mTextField->setText(msg); - mEventOk = eventOk; gcn::Button *const okButton = new Button(_("OK"), mEventOk, this); |