summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_defaults.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-07-05 21:41:21 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-07-11 00:24:23 +0900
commit66a5b394d762a1a24723438fca3ce3aea27e43ad (patch)
tree2fca157620f3d930846bf74f5e4203049544f02d /desktop-widgets/preferences/preferences_defaults.h
parent9eb860d45d65a822e7336afce59bb06d68a90c72 (diff)
downloadsubsurface-66a5b394d762a1a24723438fca3ce3aea27e43ad.tar.gz
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>
Diffstat (limited to 'desktop-widgets/preferences/preferences_defaults.h')
-rw-r--r--desktop-widgets/preferences/preferences_defaults.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_defaults.h b/desktop-widgets/preferences/preferences_defaults.h
index 0fa7bdc1b..48e633ceb 100644
--- a/desktop-widgets/preferences/preferences_defaults.h
+++ b/desktop-widgets/preferences/preferences_defaults.h
@@ -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();
};