summaryrefslogtreecommitdiff
path: root/src/settings/generalwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-25 00:36:04 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-25 00:36:04 +0200
commit3e1d14461c59209697e408f1bfcd46e0052782fd (patch)
treec01fc37b058fcc4675c9faa095c3400ca4260af4 /src/settings/generalwidget.cpp
parentProperly take care of ampersands (diff)
downloadrekonq-3e1d14461c59209697e408f1bfcd46e0052782fd.tar.xz
fix set home to current page button
Diffstat (limited to 'src/settings/generalwidget.cpp')
-rw-r--r--src/settings/generalwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/generalwidget.cpp b/src/settings/generalwidget.cpp
index fc2d4d5d..09c9e5c7 100644
--- a/src/settings/generalwidget.cpp
+++ b/src/settings/generalwidget.cpp
@@ -69,7 +69,7 @@ void GeneralWidget::hasChanged()
void GeneralWidget::setHomeToCurrentPage()
{
- MainWindow *mw = qobject_cast<MainWindow*>(parent());
+ MainWindow *mw = Application::instance()->mainWindow();
WebTab *webTab = mw->currentTab();
if (webTab)
{