summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-01 20:47:05 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-01 20:47:05 +0200
commitb5b28989450f11c4b9feb901cf6b46c211af0e80 (patch)
tree590bf665dca47488bd4366f77b501ed5f5e01bdd /src/gui
parentddb712138108097a9068fca53abdcbeeb293d6ac (diff)
downloadmana-client-b5b28989450f11c4b9feb901cf6b46c211af0e80.tar.gz
mana-client-b5b28989450f11c4b9feb901cf6b46c211af0e80.tar.bz2
mana-client-b5b28989450f11c4b9feb901cf6b46c211af0e80.tar.xz
mana-client-b5b28989450f11c4b9feb901cf6b46c211af0e80.zip
Fixed compile error when not compiling in C++11 mode
Qualifying enum values by the name of the enumeration is a C++11 feature.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index 16d8d5bd..3a7db8ef 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -89,7 +89,7 @@ NpcDialog::NpcDialog(int npcId)
mTextBox->setEditable(false);
mTextBox->setOpaque(false);
- mTextBox->setTextColor(&(Theme::instance()->getColor(Theme::ThemePalette::NPC_DIALOG_TEXT)));
+ mTextBox->setTextColor(&(Theme::instance()->getColor(Theme::NPC_DIALOG_TEXT)));
// Place the window
setContentSize(getParent()->getWidth() / 2, 175);