summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-14 22:11:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-14 22:11:25 +0300
commit4dd1906295cebc6c17d2df95ac379510cb76545c (patch)
treea8befeb00cdd26e7d6656ad11a1593e41ae998cc /src/gui/npcdialog.cpp
parent60aff62e5603baee8b5b5cba439c9a1551cd16c3 (diff)
downloadplus-4dd1906295cebc6c17d2df95ac379510cb76545c.tar.gz
plus-4dd1906295cebc6c17d2df95ac379510cb76545c.tar.bz2
plus-4dd1906295cebc6c17d2df95ac379510cb76545c.tar.xz
plus-4dd1906295cebc6c17d2df95ac379510cb76545c.zip
Remove empty lines and useless comments in npcdialog class.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r--src/gui/npcdialog.cpp12
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();