summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-16 16:05:05 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-16 16:05:05 +0300
commit9403fde6fc94e5d7047f5bf0b5a006490ef4cd09 (patch)
treed4bf087ea8835daf59359c78427e6507d4223c85 /src
parenta38309a8c988c32bde48c41013266e77c5cd8e99 (diff)
downloadplus-9403fde6fc94e5d7047f5bf0b5a006490ef4cd09.tar.gz
plus-9403fde6fc94e5d7047f5bf0b5a006490ef4cd09.tar.bz2
plus-9403fde6fc94e5d7047f5bf0b5a006490ef4cd09.tar.xz
plus-9403fde6fc94e5d7047f5bf0b5a006490ef4cd09.zip
Fix compilation without C++11 flags.
Diffstat (limited to 'src')
-rw-r--r--src/gui/userpalette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index f8992a940..3c11088c3 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -547,7 +547,7 @@ void UserPalette::addLabel(const UserColorIdT type,
mColors[static_cast<size_t>(type)] = ColorElem();
const std::string str(" \342\200\225\342\200\225\342\200\225"
"\342\200\225\342\200\225 ");
- mColors[static_cast<size_t>(type)].grad = GradientTypeT::LABEL;
+ mColors[static_cast<size_t>(type)].grad = GradientType::LABEL;
mColors[static_cast<size_t>(type)].text =
std::string(str).append(text).append(str);
}