From 9403fde6fc94e5d7047f5bf0b5a006490ef4cd09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Jun 2015 16:05:05 +0300 Subject: Fix compilation without C++11 flags. --- src/gui/userpalette.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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(type)] = ColorElem(); const std::string str(" \342\200\225\342\200\225\342\200\225" "\342\200\225\342\200\225 "); - mColors[static_cast(type)].grad = GradientTypeT::LABEL; + mColors[static_cast(type)].grad = GradientType::LABEL; mColors[static_cast(type)].text = std::string(str).append(text).append(str); } -- cgit v1.2.3-70-g09d2