summaryrefslogtreecommitdiff
authorsandman <sandman>2002-07-21 19:54:50 (UTC)
committer sandman <sandman>2002-07-21 19:54:50 (UTC)
commit8abe7e0604c930cbb46308febeec67d5bf70d255 (patch) (unidiff)
tree4e52ed8206b907269ceea85d4c8fa0820377c6e7
parent68e2730e7e5a72bbdb5086334485d98ac8dee5c8 (diff)
downloadopie-8abe7e0604c930cbb46308febeec67d5bf70d255.zip
opie-8abe7e0604c930cbb46308febeec67d5bf70d255.tar.gz
opie-8abe7e0604c930cbb46308febeec67d5bf70d255.tar.bz2
Patch for style change bug in Qt. This was the "switching the first time
to liquid crash".
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qte232-for-qpe150-unpolish.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/qt/qte232-for-qpe150-unpolish.patch b/qt/qte232-for-qpe150-unpolish.patch
new file mode 100644
index 0000000..bd10a66
--- a/dev/null
+++ b/qt/qte232-for-qpe150-unpolish.patch
@@ -0,0 +1,23 @@
1 --- src/kernel/qapplication.cpp.origSun Jul 21 21:26:30 2002
2 +++ src/kernel/qapplication.cppSun Jul 21 21:41:32 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