diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-12-12 10:28:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-25 02:57:42 +0900 |
commit | 6212bb6721391efc82df21d80d177f93204cb12e (patch) | |
tree | b055013d411f38fd72fb515f208868c37defb799 /desktop-widgets/preferences/preferences_media.cpp | |
parent | 42a85dfa7e3052d50a831bb5700a26ad7df9dc0a (diff) | |
download | subsurface-6212bb6721391efc82df21d80d177f93204cb12e.tar.gz |
Preferences UI: final cleanup
This commit does some final cleaning up to the code, mostly deleting
white space and comments.
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
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 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/desktop-widgets/preferences/preferences_media.cpp b/desktop-widgets/preferences/preferences_media.cpp index 14cdfe49c..c376d1410 100644 --- a/desktop-widgets/preferences/preferences_media.cpp +++ b/desktop-widgets/preferences/preferences_media.cpp @@ -3,6 +3,7 @@ #include "ui_preferences_media.h" #include "core/settings/qPrefMedia.h" #include "core/qthelper.h" +#include "qt-models/models.h" #include <QApplication> #include <QMessageBox> @@ -10,13 +11,10 @@ #include <QFileDialog> #include <QProcess> -#include "qt-models/models.h" - PreferencesMedia::PreferencesMedia() : AbstractPreferencesWidget(tr("Media"), QIcon(":preferences-media-icon"), 6) { ui = new Ui::PreferencesMedia(); ui->setupUi(this); - } PreferencesMedia::~PreferencesMedia() @@ -75,7 +73,6 @@ void PreferencesMedia::refreshSettings() ui->ffmpegExecutable->setText(qPrefMedia::ffmpeg_executable()); ui->auto_recalculate_thumbnails->setChecked(prefs.auto_recalculate_thumbnails); - } void PreferencesMedia::syncSettings() @@ -85,5 +82,4 @@ void PreferencesMedia::syncSettings() media->set_extract_video_thumbnails_position(ui->videoThumbnailPosition->value()); media->set_ffmpeg_executable(ui->ffmpegExecutable->text()); qPrefMedia::set_auto_recalculate_thumbnails(ui->auto_recalculate_thumbnails->isChecked()); - } |