author | drw <drw> | 2005-02-28 17:40:44 (UTC) |
---|---|---|
committer | drw <drw> | 2005-02-28 17:40:44 (UTC) |
commit | 772bc43173a3155ef08c769f1d01ef0ec7b31bcd (patch) (unidiff) | |
tree | 678a5cdeb431bca63299c3b595c26a0a6639a3f3 /qt/qt-2.3.10.patch/qte-2.3.10-all.patch | |
parent | 2b64a84d39eeed5681d0ee5068c7d11a01527750 (diff) | |
download | opie-772bc43173a3155ef08c769f1d01ef0ec7b31bcd.zip opie-772bc43173a3155ef08c769f1d01ef0ec7b31bcd.tar.gz opie-772bc43173a3155ef08c769f1d01ef0ec7b31bcd.tar.bz2 |
Added QT patch for QTabBar which fixes problems with the scroll buttons in OTabWidget
Diffstat (limited to 'qt/qt-2.3.10.patch/qte-2.3.10-all.patch') (more/less context) (show whitespace changes)
-rw-r--r-- | qt/qt-2.3.10.patch/qte-2.3.10-all.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/qt/qt-2.3.10.patch/qte-2.3.10-all.patch b/qt/qt-2.3.10.patch/qte-2.3.10-all.patch index ab52716..24bac51 100644 --- a/qt/qt-2.3.10.patch/qte-2.3.10-all.patch +++ b/qt/qt-2.3.10.patch/qte-2.3.10-all.patch | |||
@@ -290,3 +290,38 @@ Index: qt-2.3.10/src/widgets/qtoolbutton.cpp | |||
290 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Small, QIconSet::Normal); | 290 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Small, QIconSet::Normal); |
291 | w = pm.width(); | 291 | w = pm.width(); |
292 | h = pm.height(); | 292 | h = pm.height(); |
293 | Index: qt-2.3.10/src/widgets/qtabbar.cpp | ||
294 | =================================================================== | ||
295 | --- qt-2.3.10.orig/src/widgets/qtabbar.cpp2005-02-27 18:07:41.000000000 -0600 | ||
296 | +++ qt-2.3.10/src/widgets/qtabbar.cpp2005-02-28 11:16:56.444377440 -0600 | ||
297 | @@ -260,7 +260,6 @@ | ||
298 | lstatic->insert( index, newTab ); | ||
299 | |||
300 | layoutTabs(); | ||
301 | - updateArrowButtons(); | ||
302 | makeVisible( tab( currentTab() ) ); | ||
303 | |||
304 | #ifndef QT_NO_ACCEL | ||
305 | @@ -282,7 +281,6 @@ | ||
306 | l->remove( t ); | ||
307 | lstatic->remove( t ); | ||
308 | layoutTabs(); | ||
309 | - updateArrowButtons(); | ||
310 | makeVisible( tab( currentTab() ) ); | ||
311 | update(); | ||
312 | } | ||
313 | @@ -887,6 +885,7 @@ | ||
314 | } | ||
315 | for ( t = lstatic->first(); t; t = lstatic->next() ) | ||
316 | t->r.setHeight( r.height() ); | ||
317 | + updateArrowButtons(); | ||
318 | } | ||
319 | |||
320 | /*! | ||
321 | @@ -977,7 +976,6 @@ | ||
322 | d->leftB->setGeometry( width() - 2*arrowWidth, 0, arrowWidth, height() ); | ||
323 | #endif | ||
324 | layoutTabs(); | ||
325 | - updateArrowButtons(); | ||
326 | makeVisible( tab( currentTab() )); | ||
327 | } | ||