summaryrefslogtreecommitdiff
path: root/packages/qte/qte-2.3.12/qtabbar.patch
blob: f1697421f59e49e5260b0baea3e7b95d63860b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

Index: qt-2.3.10-snapshot-20060120/src/widgets/qtabbar.cpp
===================================================================
--- qt-2.3.10-snapshot-20060120.orig/src/widgets/qtabbar.cpp	2006-01-20 01:08:04.000000000 +0100
+++ qt-2.3.10-snapshot-20060120/src/widgets/qtabbar.cpp	2006-01-20 21:03:47.293012816 +0100
@@ -260,7 +260,6 @@
 	lstatic->insert( index, newTab );
 
     layoutTabs();
-    updateArrowButtons();
     makeVisible( tab( currentTab() ) );
 
 #ifndef QT_NO_ACCEL
@@ -282,7 +281,6 @@
     l->remove( t );
     lstatic->remove( t );
     layoutTabs();
-    updateArrowButtons();
     makeVisible( tab( currentTab() ) );
     update();
 }
@@ -887,6 +885,7 @@
     }
     for ( t = lstatic->first(); t; t = lstatic->next() )
 	t->r.setHeight( r.height() );
+    updateArrowButtons();
 }
 
 /*!
@@ -978,7 +977,6 @@
     d->leftB->setGeometry( width() - 2*arrowWidth, 0, arrowWidth, height() );
 #endif
     layoutTabs();
-    updateArrowButtons();
     makeVisible( tab( currentTab() ));
 }