diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-10-22 20:23:42 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | aa41772f7bc6ab59bc32010f233cdb21431fb110 (patch) | |
tree | 899bc7cf93fd39d259221b009c397731b9826d5a /src/tabwindow | |
parent | Fix "new window" menu action (diff) | |
download | rekonq-aa41772f7bc6ab59bc32010f233cdb21431fb110.tar.xz |
Fix tabs restore when some of them were pinned
Diffstat (limited to 'src/tabwindow')
-rw-r--r-- | src/tabwindow/tabwindow.cpp | 6 |
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()); + } } |