diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-05 21:48:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-05 21:48:30 +0300 |
commit | 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed (patch) | |
tree | 79a54d4c838c85df29b1b95702b71a95c43ceb5a /src/gui/buyselldialog.cpp | |
parent | d1bb1b375d657f0821ccfebf18fa1c3873314690 (diff) | |
download | plus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.gz plus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.bz2 plus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.xz plus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.zip |
Improve constructors in some classes.
Diffstat (limited to 'src/gui/buyselldialog.cpp')
-rw-r--r-- | src/gui/buyselldialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/buyselldialog.cpp b/src/gui/buyselldialog.cpp index 7fff70fc0..31a1aa315 100644 --- a/src/gui/buyselldialog.cpp +++ b/src/gui/buyselldialog.cpp @@ -34,8 +34,9 @@ BuySellDialog::DialogList BuySellDialog::instances; -BuySellDialog::BuySellDialog(const int npcId): +BuySellDialog::BuySellDialog(const int npcId) : Window(_("Shop"), false, nullptr, "buysell.xml"), + ActionListener(), mNpcId(npcId), mNick(""), mBuyButton(nullptr) @@ -43,8 +44,9 @@ BuySellDialog::BuySellDialog(const int npcId): init(); } -BuySellDialog::BuySellDialog(std::string nick): +BuySellDialog::BuySellDialog(std::string nick) : Window(_("Shop"), false, nullptr, "buysell.xml"), + ActionListener(), mNpcId(-1), mNick(nick), mBuyButton(nullptr) |