From 9bf2bbe9bb14425ef228c8e1689bbd14935cac48 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 26 Nov 2012 17:20:15 +0100 Subject: Fix tabs moves when some of them are pinned --- src/tabwindow/tabwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tabwindow/tabwindow.cpp') diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp index 4925f8d9..60a9a0eb 100644 --- a/src/tabwindow/tabwindow.cpp +++ b/src/tabwindow/tabwindow.cpp @@ -369,6 +369,10 @@ void TabWindow::tabLoadStarted() if (!tabBar()->tabData(index).toBool()) tabBar()->setTabText(index, i18n("Loading...")); + else + { + tabBar()->tabButton(index, QTabBar::RightSide)->hide(); // NOTE: not really good this, but..."Repetita iuvant"!!! + } } } -- cgit v1.2.1