summaryrefslogtreecommitdiff
path: root/qt/qte234-for-opie091-unpolish.patch
authorharlekin <harlekin>2002-09-09 15:41:53 (UTC)
committer harlekin <harlekin>2002-09-09 15:41:53 (UTC)
commit59844388cf877a0abe66582822c90712979fd9c3 (patch) (side-by-side diff)
treefcbcc00e0f6f941cc81f1c0ab6b4dd8dbfaaeaa3 /qt/qte234-for-opie091-unpolish.patch
parentd216f8562ba0ccc630e1c5499c51565cab066322 (diff)
downloadopie-59844388cf877a0abe66582822c90712979fd9c3.zip
opie-59844388cf877a0abe66582822c90712979fd9c3.tar.gz
opie-59844388cf877a0abe66582822c90712979fd9c3.tar.bz2
first round of patches to qt embedded 2.3.4
Diffstat (limited to 'qt/qte234-for-opie091-unpolish.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qte234-for-opie091-unpolish.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/qt/qte234-for-opie091-unpolish.patch b/qt/qte234-for-opie091-unpolish.patch
new file mode 100644
index 0000000..ba9e9b3
--- a/dev/null
+++ b/qt/qte234-for-opie091-unpolish.patch
@@ -0,0 +1,23 @@
+--- src.orig/kernel/qapplication.cpp Mon Mar 18 02:11:25 2002
++++ src/kernel/qapplication.cpp Fri Aug 30 04:28:34 2002
+@@ -930,10 +930,10 @@
+ void QApplication::setStyle( QStyle *style )
+ {
+ QStyle* old = app_style;
+- app_style = style;
+
+ if ( startingUp() ) {
+ delete old;
++ app_style = style;
+ return;
+ }
+
+@@ -954,6 +954,8 @@
+ old->unPolish( qApp );
+ }
+
++ app_style = style;
++
+ // take care of possible palette requirements of certain gui
+ // styles. Do it before polishing the application since the style
+ // might call QApplication::setStyle() itself