Preferences: warn if ffmpeg can't be loaded

In the preferences widget warn the user when they enter a non-executable
path to ffmpeg. Thus they don't have to start thumbnailing just to
find out that the path is wrong.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-07-05 21:41:21 +02:00 committed by Dirk Hohndel
parent 9eb860d45d
commit 66a5b394d7
2 changed files with 29 additions and 1 deletions

View file

@ -21,12 +21,14 @@ public slots:
void on_btnUseDefaultFile_toggled(bool toggled);
void on_localDefaultFile_toggled(bool toggled);
void on_ffmpegFile_clicked();
void on_ffmpegExecutable_editingFinished();
void on_extractVideoThumbnails_toggled(bool toggled);
void on_resetSettings_clicked();
void on_resetRememberedDCs_clicked();
private:
Ui::PreferencesDefaults *ui;
void checkFfmpegExecutable();
};