diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-02-25 10:35:39 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-02-25 10:35:39 (GMT) |
commit | 172e9cda6a8e2a0fa853f3c76bc8345a55e496d8 (patch) | |
tree | 92b50f749ae3168ed0599777227fb7cae10cb0bb /src/corelib | |
parent | c64c722945df4b56d51de4b7d629129ff98f2d9e (diff) | |
download | Qt-172e9cda6a8e2a0fa853f3c76bc8345a55e496d8.zip Qt-172e9cda6a8e2a0fa853f3c76bc8345a55e496d8.tar.gz Qt-172e9cda6a8e2a0fa853f3c76bc8345a55e496d8.tar.bz2 |
QLocale: Compile fix for mac.
Reviewed-by: trustme
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/tools/qlocale_mac.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qlocale_mac.mm b/src/corelib/tools/qlocale_mac.mm index cdbf93d..5210a6e 100644 --- a/src/corelib/tools/qlocale_mac.mm +++ b/src/corelib/tools/qlocale_mac.mm @@ -339,6 +339,7 @@ static QString macFormatCurrency(const QVariant &in) return QCFString::toQString(result); } +#ifndef QT_NO_SYSTEMLOCALE static QVariant macQuotationSymbol(QSystemLocale::QueryType type, const QVariant &in) { #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 @@ -365,6 +366,7 @@ static QVariant macQuotationSymbol(QSystemLocale::QueryType type, const QVariant #endif return QVariant(); } +#endif //QT_NO_SYSTEMLOCALE static void getMacPreferredLanguageAndCountry(QString *language, QString *country) { |