summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-03 18:05:18 +0200
committerSlávek Banko <[email protected]>2016-09-03 18:05:18 +0200
commite5bb2c603dfb6ad2b636a8d6fcf2d7f804cafd05 (patch)
tree055cb02328870d46ee1c09b098ea9bf683979f68 /src
parent19406434d4444a441fe0fad16a792c8dbd55e852 (diff)
downloadmplayerthumbs-e5bb2c603dfb6ad2b636a8d6fcf2d7f804cafd05.tar.gz
mplayerthumbs-e5bb2c603dfb6ad2b636a8d6fcf2d7f804cafd05.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/videopreview.cpp2
1 files changed, 1 insertions, 1 deletions
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;