Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e5bb2c603d)
r14.0.x
Slávek Banko 8 years ago
parent 2ff7fdd952
commit 283dd2c18d

@ -221,7 +221,7 @@ TQPixmap VideoPreview::getFrame(const TQString &path, int flags)
mplayerprocess->setArguments( args); mplayerprocess->setArguments( args);
mplayerprocess->start(); mplayerprocess->start();
while (mplayerprocess->isRunning() ) usleep (10); 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(); TQString lastframe=tmpdir->qDir()->entryList( "*.jpg" ).last();
kdDebug() << "videopreview: LastFrame==" << lastframe << endl; kdDebug() << "videopreview: LastFrame==" << lastframe << endl;

Loading…
Cancel
Save