mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
cleanup: fix deprecated form of QProcess::start
You are now required to always provide a list of arguments. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f871b8dfac
commit
87563eb404
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ void PreferencesMedia::checkFfmpegExecutable()
|
|||
// Try to execute ffmpeg. But wait at most 2 sec for startup and execution
|
||||
// so that the UI doesn't hang unnecessarily.
|
||||
QProcess ffmpeg;
|
||||
ffmpeg.start(s);
|
||||
ffmpeg.start(s, QStringList());
|
||||
if (!ffmpeg.waitForStarted(2000) || !ffmpeg.waitForFinished(3000))
|
||||
QMessageBox::warning(this, tr("Warning"), tr("Couldn't execute ffmpeg at given location. Thumbnailing will not work."));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue