From cd51d382be50bc021739395309e23760f1619759 Mon Sep 17 00:00:00 2001 From: ar Date: Fri, 21 Jan 2005 19:56:15 +0000 Subject: - make opie compilable against qte 2.3.10 snapshot check QT_VERSION against 0x030000 instead of 300 --- (limited to 'noncore/settings/appearance2') diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp index 9638686..088171c 100644 --- a/noncore/settings/appearance2/appearance.cpp +++ b/noncore/settings/appearance2/appearance.cpp @@ -63,7 +63,7 @@ #include #include #include -#if QT_VERSION >= 300 +#if QT_VERSION >= 0x030000 #include #endif #include @@ -130,7 +130,7 @@ QWidget *Appearance::createStyleTab ( QWidget *parent, Config &cfg ) QString s = cfg. readEntry ( "Style", "Light" ); -#if QT_VERSION >= 300 +#if QT_VERSION >= 0x030000 m_style_list->insertStringList(QStyleFactory::styles()); #else m_style_list-> insertItem ( new StyleListItem ( "Windows", new QWindowsStyle ( ))); -- cgit v0.9.0.2