summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 94dc1688..42a76758 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -566,6 +566,8 @@ void MainView::webViewTitleChanged(const QString &title)
emit currentTitle(viewTitle);
}
Application::historyManager()->updateHistoryEntry(tab->url(), tabTitle);
+ if (ReKonfig::hoveringTabOption() == 1)
+ tabBar()->setTabToolTip(index, tabTitle.remove('&'));
}
@@ -577,6 +579,8 @@ void MainView::webViewUrlChanged(const QUrl &url)
{
tabBar()->setTabData(index, url);
}
+ if (ReKonfig::hoveringTabOption() == 2)
+ tabBar()->setTabToolTip(index, webTab(index)->url().toMimeDataString());
emit tabsChanged();
}