summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 8dca7d366..ae5ed6afa 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -26,6 +26,8 @@
#include "configuration.h"
#include "textmanager.h"
+#include "enums/gui/themecolorid.h"
+
#include "gui/gui.h"
#include "gui/theme.h"
@@ -57,7 +59,7 @@ Text::Text(const std::string &text,
mText(text),
mColor(color),
mOutlineColor(isSpeech == Speech_true ?
- *color : theme->getColor(Theme::OUTLINE, 255)),
+ *color : theme->getColor(ThemeColorId::OUTLINE, 255)),
mIsSpeech(isSpeech),
mTextChanged(true)
{