summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-02-07 15:00:36 (UTC)
committer mickeyl <mickeyl>2005-02-07 15:00:36 (UTC)
commit0bc169b13ad563819b6483beef775be26016832b (patch) (side-by-side diff)
tree004ef63126b46ce1b9a18bf5403fe9ce9c256465
parent896d2e77ebafd09ee58d6148e31365f47a3668b4 (diff)
downloadopie-0bc169b13ad563819b6483beef775be26016832b.zip
opie-0bc169b13ad563819b6483beef775be26016832b.tar.gz
opie-0bc169b13ad563819b6483beef775be26016832b.tar.bz2
work around qt_version() bug in Qt/Embedded 2.3.10
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog1
-rw-r--r--libopie2/opieui/ofontselector.cpp2
-rw-r--r--libopie2/opieui/opieui.pro2
3 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 824e749..a2d3011 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,2 +14,3 @@
--------
+ * Work around bug in Qt/Embedded 2.3.10: qt_version() returns 231 (mickeyl)
diff --git a/libopie2/opieui/ofontselector.cpp b/libopie2/opieui/ofontselector.cpp
index 6c24f14..8b679c8 100644
--- a/libopie2/opieui/ofontselector.cpp
+++ b/libopie2/opieui/ofontselector.cpp
@@ -154,3 +154,3 @@ OFontSelector::OFontSelector( bool withpreview, QWidget *parent, const char *nam
- d->m_pointbug = ( qt_version() <= 233 );
+ d->m_pointbug = ( qt_version() == 232 || qt_version() == 233 ); // SharpROM uses 2.3.2
diff --git a/libopie2/opieui/opieui.pro b/libopie2/opieui/opieui.pro
index ffa8b83..5525ea2 100644
--- a/libopie2/opieui/opieui.pro
+++ b/libopie2/opieui/opieui.pro
@@ -50,3 +50,3 @@ INTERFACES = otimepickerbase.ui
TARGET = opieui2
-VERSION = 1.9.0
+VERSION = 1.9.1