Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > e2f273fbbd8c9fe19b4edce3644815c9 > files > 2

subtitlecomposer-0.6.5-1.mga6.src.rpm

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 *