]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/generalviewsettingspage.cpp
use "Sort by" instead of "Sort By"
[dolphin.git] / src / generalviewsettingspage.cpp
index 61439d323e1eb49c1d5c68b3508b31d91bea50e0..fe15805e4a097e1a22723ea9372c0705798db6b2 100644 (file)
@@ -66,7 +66,7 @@ GeneralViewSettingsPage::GeneralViewSettingsPage(DolphinMainWindow* mainWindow,
     // create 'File Previews' box
     QGroupBox* previewBox = new QGroupBox(i18nc("@title:group", "File Previews"), this);
 
-    QLabel* maxFileSize = new QLabel(i18n("Maximum file size:"), previewBox);
+    QLabel* maxFileSize = new QLabel(i18nc("@label:slider", "Maximum file size:"), previewBox);
 
     KHBox* vBox = new KHBox(previewBox);
     vBox->setSpacing(spacing);
@@ -94,10 +94,6 @@ GeneralViewSettingsPage::GeneralViewSettingsPage(DolphinMainWindow* mainWindow,
 
 GeneralViewSettingsPage::~GeneralViewSettingsPage()
 {
-    GeneralSettings* settings = DolphinSettings::instance().generalSettings();
-    settings->setDefaults();
-
-    loadSettings();
 }
 
 void GeneralViewSettingsPage::applySettings()