diff options
author | Furkan Uzumcu <furkanuzumcu@gmail.com> | 2011-11-20 18:11:07 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-11-20 18:11:07 +0100 |
commit | 59edc2a28dd46a75dab0166901ec6e13ccef5941 (patch) | |
tree | a7657903fb169244912d16b09996fdd997660943 /src/mainview.cpp | |
parent | Use title instead of URL when adding application shortcuts (diff) | |
download | rekonq-59edc2a28dd46a75dab0166901ec6e13ccef5941.tar.xz |
Clean up MainView::webViewUrlChanged() code
REVIEW:102818
REVIEWED-BY: adjam
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 15c78f5a..1ad452ea 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -596,12 +596,8 @@ void MainView::webViewUrlChanged(const QUrl &url) { WebView *view = qobject_cast<WebView *>(sender()); int index = indexOf(view->parentWidget()); - if (-1 != index) - { - tabBar()->setTabData(index, url); - } if (ReKonfig::hoveringTabOption() == 2) - tabBar()->setTabToolTip(index, webTab(index)->url().toMimeDataString()); + tabBar()->setTabToolTip(index, url.toString()); } |