summaryrefslogtreecommitdiff
path: root/src/settings
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-03-10 19:02:12 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-03-10 19:02:12 +0100
commit9461c52f07a2bf8b9bc25f037b17805cda51b2b0 (patch)
treeb599e6eff700e65a864bb275c94adc9a6da7e529 /src/settings
parentAdd toggle ability to bk folder in bk page (diff)
downloadrekonq-9461c52f07a2bf8b9bc25f037b17805cda51b2b0.tar.xz
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
Diffstat (limited to 'src/settings')
-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());