summaryrefslogtreecommitdiff
path: root/src/tabwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-10-22 20:23:42 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commitaa41772f7bc6ab59bc32010f233cdb21431fb110 (patch)
tree899bc7cf93fd39d259221b009c397731b9826d5a /src/tabwindow
parentFix "new window" menu action (diff)
downloadrekonq-aa41772f7bc6ab59bc32010f233cdb21431fb110.tar.xz
Fix tabs restore when some of them were pinned
Diffstat (limited to 'src/tabwindow')
-rw-r--r--src/tabwindow/tabwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp
index d2692d3d..99c4aa40 100644
--- a/src/tabwindow/tabwindow.cpp
+++ b/src/tabwindow/tabwindow.cpp
@@ -349,7 +349,13 @@ void TabWindow::tabLoadFinished(bool ok)
label->setPixmap(ic.pixmap(16, 16));
if (!tabBar()->tabData(index).toBool())
+ {
setTabText(index, tab->title());
+ }
+ else
+ {
+ setTabText(index, QString());
+ }
}