summaryrefslogtreecommitdiff
path: root/src/tabwindow/tabwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-11-15 23:12:41 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commitd078cd5b18bbccfe6102ca04141e1ebc01083acf (patch)
tree8ba61fcac11b080aaf141a38a4bafae39caec927 /src/tabwindow/tabwindow.cpp
parentFix close action when some web apps are running (diff)
downloadrekonq-d078cd5b18bbccfe6102ca04141e1ebc01083acf.tar.xz
Fix tabwindow title when webwindow one is empty
(no more "rekonq - rekonq")
Diffstat (limited to 'src/tabwindow/tabwindow.cpp')
-rw-r--r--src/tabwindow/tabwindow.cpp3
1 files changed, 2 insertions, 1 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"));