diff options
author | Bernhard Beschow <bbeschow@cs.tu-berlin.de> | 2009-12-14 17:43:05 +0100 |
---|---|---|
committer | Bernhard Beschow <bbeschow@cs.tu-berlin.de> | 2009-12-14 21:55:50 +0100 |
commit | 412e9b019ad5c868dd0c5573bf185a32cca31b7d (patch) | |
tree | 1a1ee0cddabefdd62e2bef39eef47e52d222e7f9 /src/settings/settingsdialog.cpp | |
parent | rekonq 0.3.21 (diff) | |
download | rekonq-412e9b019ad5c868dd0c5573bf185a32cca31b7d.tar.xz |
factor out WebTab class from WebView
* it basically represents a tab in rekonq
* everything that happens within one tab should go here (wallet bar, find bar?)
Diffstat (limited to 'src/settings/settingsdialog.cpp')
-rw-r--r-- | src/settings/settingsdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp index ee0c1794..e37481aa 100644 --- a/src/settings/settingsdialog.cpp +++ b/src/settings/settingsdialog.cpp @@ -36,7 +36,7 @@ // Local Includes #include "application.h" #include "mainwindow.h" -#include "webview.h" +#include "webtab.h" //Ui Includes #include "ui_settings_general.h" @@ -235,9 +235,9 @@ bool SettingsDialog::hasChanged() void SettingsDialog::setHomeToCurrentPage() { MainWindow *mw = static_cast<MainWindow*>(parent()); - WebView *webView = mw->currentTab(); - if (webView) + WebTab *webTab = mw->currentTab(); + if (webTab) { - d->generalUi.kcfg_homePage->setText(webView->url().prettyUrl()); + d->generalUi.kcfg_homePage->setText(webTab->url().prettyUrl()); } } |