subtitlecomposer/subtitlecomposer-Qt56.patch
Luca Beltrame dd19c54a45 Accepting request 539339 from home:alois:branches:KDE:Extra
- Update to version 0.6.5
  add:
  * Added support for binary subtitle formats
  * fine control video playback speed
  * controls for video playback speed
  mod:
  * GStreamer backend audio improvements.
  * Moved open video actions under File menu
  * More tolerant parsing of SubRip subtitles.
  * Improved split lines command
  * Updated Czech translation - thanks @goliashcz
  * Updated Croatian translations - thanks @muzena
  fix:
  * Waveform widget dragging and speed improvements, fixed
    buffer overflow
  * WaveformWidget: zoom out wasn't working on movies without
    audio
  * Fixed cases where subtitle hide time would end up before
    show time.
  * Improved context menus.
  * Fixed moving of anchored lines.
  * Open subtitle wouldn't autoload video in some cases
  * Open video now includes .divx and .webm extensions
  * Tools menu scripts are filtered based on installed kross
    interpreters
  * Moved custom icons to more standard location, using
    QIcon::fromTheme()
  * Error Check > Absolute Duration config fields were changing
    incorrect values.
  * MPV Backend: fixed deprecated options, updated vo devices -
    thanks @luzfcb
  * better rendering on high DPI screens.
  * MPV Backend: framerate/video length  wasn't reported to
    subtitle composer anymore
  * detection/handling of current playing line
  * Parsing text containing <font> without color attribute
  * compilation without xine - thanks @pinotree
  * ASS parsing - thanks @Martchus
- Added subtitlecomposer-Qt56.patch to be able to build against
  Qt 5.6 on Leap

OBS-URL: https://build.opensuse.org/request/show/539339
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/subtitlecomposer?expand=0&rev=13
2017-11-08 15:06:36 +00:00

25 lines
583 B
Diff

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 *