diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-08 13:47:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-08 14:39:55 +0300 |
commit | 0975dc4cd9012b098061f0201028896d578649f8 (patch) | |
tree | ccb3991a51ef9de47877a7d2549664d0f0ae4f79 /src/gui/windows/editdialog.cpp | |
parent | 4a823c0ba94c620bd0e51fc61f22c068661946cf (diff) | |
download | plus-0975dc4cd9012b098061f0201028896d578649f8.tar.gz plus-0975dc4cd9012b098061f0201028896d578649f8.tar.bz2 plus-0975dc4cd9012b098061f0201028896d578649f8.tar.xz plus-0975dc4cd9012b098061f0201028896d578649f8.zip |
Remove duplicate variables from some classes.
Diffstat (limited to 'src/gui/windows/editdialog.cpp')
-rw-r--r-- | src/gui/windows/editdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/editdialog.cpp b/src/gui/windows/editdialog.cpp index 502b71ecb..5c002212f 100644 --- a/src/gui/windows/editdialog.cpp +++ b/src/gui/windows/editdialog.cpp @@ -35,9 +35,9 @@ EditDialog::EditDialog(const std::string &restrict title, Window(title, modal, parent, "edit.xml"), gcn::ActionListener(), mEventOk(eventOk), - mTextField(new TextField(this)), - mDefaultWidth(width) + mTextField(new TextField(this)) { + mDefaultWidth = width; mTextField->setText(msg); } |