diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-01 20:47:05 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-01 20:47:05 +0200 |
commit | b5b28989450f11c4b9feb901cf6b46c211af0e80 (patch) | |
tree | 590bf665dca47488bd4366f77b501ed5f5e01bdd /src | |
parent | ddb712138108097a9068fca53abdcbeeb293d6ac (diff) | |
download | mana-b5b28989450f11c4b9feb901cf6b46c211af0e80.tar.gz mana-b5b28989450f11c4b9feb901cf6b46c211af0e80.tar.bz2 mana-b5b28989450f11c4b9feb901cf6b46c211af0e80.tar.xz mana-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')
-rw-r--r-- | src/gui/npcdialog.cpp | 2 |
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); |