summaryrefslogtreecommitdiff
path: root/src/settings/generalwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/generalwidget.cpp')
-rw-r--r--src/settings/generalwidget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/settings/generalwidget.cpp b/src/settings/generalwidget.cpp
index ae08a01f..d64fd8d3 100644
--- a/src/settings/generalwidget.cpp
+++ b/src/settings/generalwidget.cpp
@@ -33,7 +33,7 @@
// Local Includes
#include "application.h"
-#include "tabwindow.h"
+#include "rekonqwindow.h"
#include "webwindow.h"
//KDE Includes
@@ -91,8 +91,7 @@ void GeneralWidget::hasChanged()
void GeneralWidget::setHomeToCurrentPage()
{
- TabWindow *tw = rApp->tabWindow();
- WebWindow *tab = tw->currentWebWindow();
+ WebWindow *tab = rApp->rekonqWindow()->currentWebWindow();
if (tab)
{
kcfg_homePage->setText(tab->url().url());