diff options
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()); - } |