summaryrefslogtreecommitdiff
path: root/src/settings
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings')
-rw-r--r--src/settings/networkwidget.cpp6
-rw-r--r--src/settings/settingsdialog.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/settings/networkwidget.cpp b/src/settings/networkwidget.cpp
index 5495f0ce..7a7001d3 100644
--- a/src/settings/networkwidget.cpp
+++ b/src/settings/networkwidget.cpp
@@ -52,15 +52,15 @@ NetworkWidget::NetworkWidget(QWidget *parent)
KCModuleInfo cacheInfo("cache.desktop");
_cacheModule = new KCModuleProxy(cacheInfo, parent);
- tabWidget->addTab(_cacheModule, i18n(cacheInfo.moduleName().toLocal8Bit()));
+ tabWidget->addTab(_cacheModule, i18n(cacheInfo.moduleName().toUtf8()));
KCModuleInfo cookiesInfo("cookies.desktop");
_cookiesModule = new KCModuleProxy(cookiesInfo, parent);
- tabWidget->addTab(_cookiesModule, i18n(cookiesInfo.moduleName().toLocal8Bit()));
+ tabWidget->addTab(_cookiesModule, i18n(cookiesInfo.moduleName().toUtf8()));
KCModuleInfo proxyInfo("proxy.desktop");
_proxyModule = new KCModuleProxy(proxyInfo, parent);
- tabWidget->addTab(_proxyModule, i18n(proxyInfo.moduleName().toLocal8Bit()));
+ tabWidget->addTab(_proxyModule, i18n(proxyInfo.moduleName().toUtf8()));
connect(_cacheModule, SIGNAL(changed(bool)), this, SLOT(hasChanged()));
connect(_cookiesModule, SIGNAL(changed(bool)), this, SLOT(hasChanged()));
diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp
index eee2a4e1..a3b4f976 100644
--- a/src/settings/settingsdialog.cpp
+++ b/src/settings/settingsdialog.cpp
@@ -129,7 +129,7 @@ Private::Private(SettingsDialog *parent)
// -- 8
KCModuleInfo ebrowsingInfo("ebrowsing.desktop");
ebrowsingModule = new KCModuleProxy(ebrowsingInfo, parent);
- pageItem = parent->addPage(ebrowsingModule, i18n(ebrowsingInfo.moduleName().toLocal8Bit()));
+ pageItem = parent->addPage(ebrowsingModule, i18n(ebrowsingInfo.moduleName().toUtf8()));
pageItem->setIcon(KIcon(ebrowsingInfo.icon()));
// WARNING