diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 14:29:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-26 19:27:03 -0700 |
commit | 87563eb4043ed7b93d0db867a47c8af057fc2385 (patch) | |
tree | a55023f0c2ea7fb119c412d919a75dae9db1afd0 /desktop-widgets/preferences/preferences_media.cpp | |
parent | f871b8dfac8d8afffdeed0efa64e74c29299b193 (diff) | |
download | subsurface-87563eb4043ed7b93d0db867a47c8af057fc2385.tar.gz |
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>
Diffstat (limited to 'desktop-widgets/preferences/preferences_media.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferences_media.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferences_media.cpp b/desktop-widgets/preferences/preferences_media.cpp index c376d1410..594493a97 100644 --- a/desktop-widgets/preferences/preferences_media.cpp +++ b/desktop-widgets/preferences/preferences_media.cpp @@ -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.")); } |