From 9461c52f07a2bf8b9bc25f037b17805cda51b2b0 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 10 Mar 2013 19:02:12 +0100 Subject: Supporting panel (again) :) - Move to a pure QWidget base window (instead of TabWidget one) (this to properly store panels position) - Restoring && rewamping panels code - Restoring actions to activate/deactivate them BUG: 312354 --- src/settings/generalwidget.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/settings') 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()); -- cgit v1.2.1