summaryrefslogtreecommitdiff
path: root/qt/qte233-for-opie091-unpolish.patch
authorsandman <sandman>2002-08-30 02:50:56 (UTC)
committer sandman <sandman>2002-08-30 02:50:56 (UTC)
commit57e4c1b05208650eaac76268eb9bb25a1caa2184 (patch) (unidiff)
tree6389ea3b2799dbbb731d1780102568642129e335 /qt/qte233-for-opie091-unpolish.patch
parentc4af3c78c9f6f073c1e0b11b331a2e24df80b9ff (diff)
downloadopie-57e4c1b05208650eaac76268eb9bb25a1caa2184.zip
opie-57e4c1b05208650eaac76268eb9bb25a1caa2184.tar.gz
opie-57e4c1b05208650eaac76268eb9bb25a1caa2184.tar.bz2
New/ported patches for Qt/E 2.3.3
Diffstat (limited to 'qt/qte233-for-opie091-unpolish.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qte233-for-opie091-unpolish.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/qt/qte233-for-opie091-unpolish.patch b/qt/qte233-for-opie091-unpolish.patch
new file mode 100644
index 0000000..ba9e9b3
--- a/dev/null
+++ b/qt/qte233-for-opie091-unpolish.patch
@@ -0,0 +1,23 @@
1 --- src.orig/kernel/qapplication.cppMon Mar 18 02:11:25 2002
2 +++ src/kernel/qapplication.cppFri Aug 30 04:28:34 2002
3@@ -930,10 +930,10 @@
4 void QApplication::setStyle( QStyle *style )
5 {
6 QStyle* old = app_style;
7- app_style = style;
8
9 if ( startingUp() ) {
10 delete old;
11 +app_style = style;
12 return;
13 }
14
15@@ -954,6 +954,8 @@
16 old->unPolish( qApp );
17 }
18
19+ app_style = style;
20+
21 // take care of possible palette requirements of certain gui
22 // styles. Do it before polishing the application since the style
23 // might call QApplication::setStyle() itself