summaryrefslogtreecommitdiff
path: root/qt/qte234-for-opie091-setpalette.patch
Side-by-side diff
Diffstat (limited to 'qt/qte234-for-opie091-setpalette.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qte234-for-opie091-setpalette.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/qt/qte234-for-opie091-setpalette.patch b/qt/qte234-for-opie091-setpalette.patch
deleted file mode 100644
index 2aee4e5..0000000
--- a/qt/qte234-for-opie091-setpalette.patch
+++ b/dev/null
@@ -1,23 +0,0 @@
---- src/kernel/qapplication.cpp.orig Sat Sep 21 05:01:47 2002
-+++ src/kernel/qapplication.cpp Sat Sep 21 05:24:42 2002
-@@ -1187,8 +1187,19 @@
- {
- QPalette pal = palette;
- #ifndef QT_NO_STYLE
-- if ( !startingUp() )
-+ if ( !startingUp() ) {
- qApp->style().polish( pal ); // NB: non-const reference
-+ if ( className ) {
-+ // if we just polished a class specific palette (this normally
-+ // only called by qt_fix_tooltips - see below), we better re-
-+ // polish the global palette. Some styles like liquid can get
-+ // confused, because they can not detect if the polished palette
-+ // is the global one or only a class specific one.
-+ // (liquid uses this palette to calculate blending pixmaps)
-+ QPalette p = qApp-> palette ( );
-+ qApp->style().polish ( p );
-+ }
-+ }
- #endif
- bool all = FALSE;
- if ( !className ) {