From b5b28989450f11c4b9feb901cf6b46c211af0e80 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Wed, 1 Aug 2012 20:47:05 +0200 Subject: Fixed compile error when not compiling in C++11 mode Qualifying enum values by the name of the enumeration is a C++11 feature. --- src/gui/npcdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/npcdialog.cpp') 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); -- cgit v1.2.3-70-g09d2