From 4dd1906295cebc6c17d2df95ac379510cb76545c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Feb 2013 22:11:25 +0300 Subject: Remove empty lines and useless comments in npcdialog class. --- src/gui/npcdialog.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3-70-g09d2