Fix QT_DEPRECATED_SINCE check for Qt < 5.6

This commit is contained in:
Marius Kittler 2019-06-25 14:36:17 +02:00
parent 73ec1939ed
commit 933a2940eb
1 changed files with 2 additions and 2 deletions

View File

@ -53,11 +53,11 @@ FfmpegLauncher::FfmpegLauncher(PlayerWatcher &watcher, QObject *parent)
connect(&watcher, &PlayerWatcher::playbackStopped, this, &FfmpegLauncher::stopFfmpeg);
connect(m_ffmpeg, &QProcess::started, this, &FfmpegLauncher::ffmpegStarted);
connect(m_ffmpeg,
#if QT_DEPRECATED_SINCE(5,6)
#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) || QT_DEPRECATED_SINCE(5, 6)
static_cast<void (QProcess::*)(QProcess::ProcessError)>(
#endif
&QProcess::error
#if QT_DEPRECATED_SINCE(5,6)
#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) || QT_DEPRECATED_SINCE(5, 6)
)
#endif
, this, &FfmpegLauncher::ffmpegError);