summaryrefslogtreecommitdiff
path: root/src/settings
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings')
-rw-r--r--src/settings/generalwidget.cpp2
-rw-r--r--src/settings/settingsdialog.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/settings/generalwidget.cpp b/src/settings/generalwidget.cpp
index 0128830c..812ae244 100644
--- a/src/settings/generalwidget.cpp
+++ b/src/settings/generalwidget.cpp
@@ -73,7 +73,7 @@ void GeneralWidget::hasChanged()
void GeneralWidget::setHomeToCurrentPage()
{
- MainWindow *mw = Application::instance()->mainWindow();
+ MainWindow *mw = rApp->mainWindow();
WebTab *webTab = mw->currentTab();
if (webTab)
{
diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp
index 84c6da12..f5ade187 100644
--- a/src/settings/settingsdialog.cpp
+++ b/src/settings/settingsdialog.cpp
@@ -123,7 +123,7 @@ Private::Private(SettingsDialog *parent)
pageItem->setIcon(KIcon("preferences-web-browser-adblock"));
// -- 7
- shortcutsEditor = new KShortcutsEditor(Application::instance()->mainWindow()->actionCollection(), parent);
+ shortcutsEditor = new KShortcutsEditor(rApp->mainWindow()->actionCollection(), parent);
pageItem = parent->addPage(shortcutsEditor , i18n("Shortcuts"));
pageItem->setIcon(KIcon("configure-shortcuts"));
@@ -204,7 +204,7 @@ void SettingsDialog::saveSettings()
d->ebrowsingModule->save();
SearchEngine::reload();
- Application::opensearchManager()->removeDeletedEngines();
+ rApp->opensearchManager()->removeDeletedEngines();
updateButtons();
emit settingsChanged("ReKonfig");