diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-25 00:36:04 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-25 00:36:04 +0200 |
commit | 3e1d14461c59209697e408f1bfcd46e0052782fd (patch) | |
tree | c01fc37b058fcc4675c9faa095c3400ca4260af4 | |
parent | Properly take care of ampersands (diff) | |
download | rekonq-3e1d14461c59209697e408f1bfcd46e0052782fd.tar.xz |
fix set home to current page button
-rw-r--r-- | src/settings/generalwidget.cpp | 2 |
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) { |