summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index f765e18c..3b82935f 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -24,7 +24,7 @@
#include "settings.moc"
#include "browserapplication.h"
-#include "browsermainwindow.h"
+#include "mainwindow.h"
#include "cookiejar.h"
#include "history.h"
#include "networkaccessmanager.h"
@@ -366,7 +366,7 @@ void SettingsDialog::chooseFixedFont()
void SettingsDialog::setHomeToCurrentPage()
{
- BrowserMainWindow *mw = static_cast<BrowserMainWindow*>(parent());
+ MainWindow *mw = static_cast<MainWindow*>(parent());
WebView *webView = mw->currentTab();
if (webView)
{