diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-02-28 11:56:19 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-02-28 11:56:19 (GMT) |
commit | 52b92a21c473c5d92add91bd3e3820ebbbc619ce (patch) | |
tree | d33c8164db8ce7098df33b90088a5ab85e09e28f /src/corelib/tools/qlocale_mac.mm | |
parent | fbf982dd12483b70947131fee1e863d9d9859a42 (diff) | |
download | Qt-52b92a21c473c5d92add91bd3e3820ebbbc619ce.zip Qt-52b92a21c473c5d92add91bd3e3820ebbbc619ce.tar.gz Qt-52b92a21c473c5d92add91bd3e3820ebbbc619ce.tar.bz2 |
Compile fix on Mac for QLocale.
Reviewed-by: trustme
Diffstat (limited to 'src/corelib/tools/qlocale_mac.mm')
-rw-r--r-- | src/corelib/tools/qlocale_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale_mac.mm b/src/corelib/tools/qlocale_mac.mm index 68bb7c5..8a527e4 100644 --- a/src/corelib/tools/qlocale_mac.mm +++ b/src/corelib/tools/qlocale_mac.mm @@ -307,6 +307,7 @@ static QString macCurrencySymbol(QLocale::CurrencySymbolFormat format) return QString(); } +#ifndef QT_NO_SYSTEMLOCALE static QString macFormatCurrency(const QSystemLocale::CurrencyToStringArgument &arg) { QCFType<CFNumberRef> value; @@ -343,7 +344,6 @@ static QString macFormatCurrency(const QSystemLocale::CurrencyToStringArgument & return QCFString::toQString(result); } -#ifndef QT_NO_SYSTEMLOCALE static QVariant macQuoteString(QSystemLocale::QueryType type, const QStringRef &str) { #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 |