From e5bb2c603dfb6ad2b636a8d6fcf2d7f804cafd05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Sep 2016 18:05:18 +0200 Subject: [PATCH] Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/videopreview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/videopreview.cpp b/src/videopreview.cpp index 85e2b34..fa64568 100644 --- a/src/videopreview.cpp +++ b/src/videopreview.cpp @@ -221,7 +221,7 @@ TQPixmap VideoPreview::getFrame(const TQString &path, int flags) mplayerprocess->setArguments( args); mplayerprocess->start(); while (mplayerprocess->isRunning() ) usleep (10); - if (tmpdir->qDir()->entryList( "*.jpg" ).isEmpty() ) return false; + if (tmpdir->qDir()->entryList( "*.jpg" ).isEmpty() ) return 0; TQString lastframe=tmpdir->qDir()->entryList( "*.jpg" ).last(); kdDebug() << "videopreview: LastFrame==" << lastframe << endl;