Diffstat (limited to 'qt/qt-2.3.10.patch/qtabbar.patch') (more/less context) (ignore whitespace changes)
-rw-r--r-- | qt/qt-2.3.10.patch/qtabbar.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/qt/qt-2.3.10.patch/qtabbar.patch b/qt/qt-2.3.10.patch/qtabbar.patch new file mode 100644 index 0000000..6940ec9 --- a/dev/null +++ b/qt/qt-2.3.10.patch/qtabbar.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- qt-2.3.10/src/widgets/qtabbar.cpp~qtabbar | ||
7 | +++ qt-2.3.10/src/widgets/qtabbar.cpp | ||
8 | @@ -260,7 +260,6 @@ | ||
9 | lstatic->insert( index, newTab ); | ||
10 | |||
11 | layoutTabs(); | ||
12 | - updateArrowButtons(); | ||
13 | makeVisible( tab( currentTab() ) ); | ||
14 | |||
15 | #ifndef QT_NO_ACCEL | ||
16 | @@ -282,7 +281,6 @@ | ||
17 | l->remove( t ); | ||
18 | lstatic->remove( t ); | ||
19 | layoutTabs(); | ||
20 | - updateArrowButtons(); | ||
21 | makeVisible( tab( currentTab() ) ); | ||
22 | update(); | ||
23 | } | ||
24 | @@ -887,6 +885,7 @@ | ||
25 | } | ||
26 | for ( t = lstatic->first(); t; t = lstatic->next() ) | ||
27 | t->r.setHeight( r.height() ); | ||
28 | + updateArrowButtons(); | ||
29 | } | ||
30 | |||
31 | /*! | ||
32 | @@ -977,7 +976,6 @@ | ||
33 | d->leftB->setGeometry( width() - 2*arrowWidth, 0, arrowWidth, height() ); | ||
34 | #endif | ||
35 | layoutTabs(); | ||
36 | - updateArrowButtons(); | ||
37 | makeVisible( tab( currentTab() )); | ||
38 | } | ||
39 | |||