]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kcmdolphin.cpp
Assure that the items within the "Others" group are sorted too, when sorting by name...
[dolphin.git] / src / kcmdolphin.cpp
index 676bc19d3cdaee66055e79a9bec6ea7f793d6387..f980fa502af4b6be3b45763b7e36532c4cb8ad56 100644 (file)
@@ -24,6 +24,7 @@
 #include "generalviewsettingspage.h"
 #include "iconsviewsettingspage.h"
 
+#include <ktabwidget.h>
 #include <kdialog.h>
 #include <klocale.h>
 #include <kpluginfactory.h>
@@ -44,13 +45,15 @@ DolphinConfigModule::DolphinConfigModule(QWidget* parent, const QVariantList& ar
 {
     Q_UNUSED(args);
 
+    KGlobal::locale()->insertCatalog("dolphin");
+
     setButtons(KCModule::Default | KCModule::Help);
 
     QVBoxLayout* topLayout = new QVBoxLayout(this);
     topLayout->setMargin(0);
     topLayout->setSpacing(KDialog::spacingHint());
 
-    QTabWidget* tabWidget = new QTabWidget(this);
+    KTabWidget* tabWidget = new KTabWidget(this);
 
     // initialize 'General' tab
     GeneralViewSettingsPage* generalPage = new GeneralViewSettingsPage(QDir::homePath(), tabWidget);