diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tabwindow/tabwindow.cpp | 3 | ||||
-rw-r--r-- | src/webtab/webtab.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp index 12c0aaa8..4925f8d9 100644 --- a/src/tabwindow/tabwindow.cpp +++ b/src/tabwindow/tabwindow.cpp @@ -282,7 +282,8 @@ void TabWindow::currentChanged(int newIndex) return; QString t = tab->title(); - (t.isEmpty()) + + (t.isEmpty() || t == QL1S("rekonq")) ? setWindowTitle(QL1S("rekonq")) : setWindowTitle(t + QL1S(" - rekonq")); diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp index bb616770..510177e6 100644 --- a/src/webtab/webtab.cpp +++ b/src/webtab/webtab.cpp @@ -145,6 +145,7 @@ WebWindow *WebTab::webWindow() return w; } + KUrl WebTab::url() { if (page() && page()->isOnRekonqPage()) @@ -408,7 +409,6 @@ void WebTab::zoomDefault() void WebTab::webAppTitleChanged(QString title) { - if (title.isEmpty()) setWindowTitle(i18n("rekonq")); else |