From 2e4c066b4571960cc42d25fed4a01fbfa73b5142 Mon Sep 17 00:00:00 2001 From: Mladen Milinkovic <max@scarlettvisionmedia.com> Date: Mon, 30 Oct 2017 22:02:01 +0100 Subject: [PATCH] Fixed compilation with Qt 5.6 --- src/core/sstring.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/sstring.cpp b/src/core/sstring.cpp index 5529302..e40bd86 100644 --- a/src/core/sstring.cpp +++ b/src/core/sstring.cpp @@ -28,6 +28,10 @@ #include <QColor> +#if (QT_VERSION < QT_VERSION_CHECK(5, 7, 0)) + #define qAsConst +#endif + using namespace SubtitleComposer; void *