diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-14 22:11:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-14 22:11:25 +0300 |
commit | 4dd1906295cebc6c17d2df95ac379510cb76545c (patch) | |
tree | a8befeb00cdd26e7d6656ad11a1593e41ae998cc /src/gui | |
parent | 60aff62e5603baee8b5b5cba439c9a1551cd16c3 (diff) | |
download | manaverse-4dd1906295cebc6c17d2df95ac379510cb76545c.tar.gz manaverse-4dd1906295cebc6c17d2df95ac379510cb76545c.tar.bz2 manaverse-4dd1906295cebc6c17d2df95ac379510cb76545c.tar.xz manaverse-4dd1906295cebc6c17d2df95ac379510cb76545c.zip |
Remove empty lines and useless comments in npcdialog class.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/npcdialog.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index df253b752..0fbd52456 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -131,22 +131,11 @@ NpcDialog::NpcDialog(const int npcId) : mItemList->setRowHeight(gui->getNpcFont()->getHeight()); setContentSize(260, 175); - mListScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); - mItemList->setVisible(true); - - // Setup string input box mTextField->setVisible(true); - - // Setup int input box mIntField->setVisible(true); - - // Setup button - - //Setup more and less buttons (int input) - const gcn::Font *const fnt = mButton->getFont(); int width = std::max(fnt->getWidth(CAPTION_WAITING), fnt->getWidth(CAPTION_NEXT)); @@ -155,7 +144,6 @@ NpcDialog::NpcDialog(const int npcId) : mButton->setWidth(8 + width); - // Place widgets buildLayout(); |