From 6212bb6721391efc82df21d80d177f93204cb12e Mon Sep 17 00:00:00 2001 From: willemferguson Date: Thu, 12 Dec 2019 10:28:04 +0200 Subject: Preferences UI: final cleanup This commit does some final cleaning up to the code, mostly deleting white space and comments. Signed-off-by: willemferguson Signed-off-by: Dirk Hohndel --- desktop-widgets/preferences/preferences_media.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'desktop-widgets/preferences/preferences_media.cpp') 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 #include @@ -10,13 +11,10 @@ #include #include -#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()); - } -- cgit v1.2.3-70-g09d2