summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp6
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());
}