summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-04 01:05:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-04 01:05:30 +0300
commitbc510019c0e0b9cc14f0c580667b384568177f7a (patch)
tree84155a845bf5737666737f71713e7fec644d3187 /src/gui/windows/npcdialog.cpp
parent50ccaf404cdbe5b635f003ff209996f9062183d5 (diff)
downloadplus-bc510019c0e0b9cc14f0c580667b384568177f7a.tar.gz
plus-bc510019c0e0b9cc14f0c580667b384568177f7a.tar.bz2
plus-bc510019c0e0b9cc14f0c580667b384568177f7a.tar.xz
plus-bc510019c0e0b9cc14f0c580667b384568177f7a.zip
Merge scrollarea classes into one.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index a1b2109fb..1956a8da3 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -147,8 +147,8 @@ NpcDialog::NpcDialog(const int npcId) :
mTextBox->setEnableKeys(true);
mTextBox->setEnableTabs(true);
- mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);
- mScrollArea->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS);
+ mScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
+ mScrollArea->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS);
// Setup listbox
mItemList->setWrappingEnabled(true);
@@ -162,8 +162,8 @@ NpcDialog::NpcDialog(const int npcId) :
mItemList->setRowHeight(gui->getNpcFont()->getHeight());
setContentSize(260, 175);
- mListScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);
- mItemScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);
+ mListScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
+ mItemScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
mItemList->setVisible(true);
mTextField->setVisible(true);
mIntField->setVisible(true);