diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 2 | ||||
-rw-r--r-- | src/mainview.cpp | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/application.cpp b/src/application.cpp index 1b4e169e..6ef0b0c3 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -641,7 +641,7 @@ void Application::updateConfiguration() case 3: // nothing for (int i = 0; i < mainWindow()->mainView()->tabBar()->count(); i++) { - mainWindow()->mainView()->tabBar()->setTabToolTip(i, ""); + mainWindow()->mainView()->tabBar()->setTabToolTip(i, QL1S("")); } break; 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()); } |