diff options
author | Mike FABIAN <mike.fabian@basyskom.de> | 2010-07-26 10:04:37 +0200 |
---|---|---|
committer | Mike FABIAN <mike.fabian@basyskom.de> | 2010-07-26 11:46:27 +0200 |
commit | 4dcb9431dc87bcd13031fa800c54c55918462dfe (patch) | |
tree | 13c9fb0f906b071c3c3c05dcce1fe4b54a6cfada /src/corelib | |
parent | a768c9efc940a693d62dd3e5fa57ed3553bdae84 (diff) |
Changes: fix compilation problem with gcc 4.5
RevBy: John Tapsell, Miroslav Safr
Details:
Miroslav found that when compiling in MeeGo OBS the old code
gave the error message:
i18n/mlocale.cpp:744:1: error: 'QLocale::QLocale' names the constructor, not the type
Because this system already has gcc 4.5.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/i18n/mlocale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/i18n/mlocale.cpp b/src/corelib/i18n/mlocale.cpp index 0c4b417c..8880411d 100644 --- a/src/corelib/i18n/mlocale.cpp +++ b/src/corelib/i18n/mlocale.cpp @@ -741,7 +741,7 @@ void MLocalePrivate::removeTrFromQCoreApp() } } -QLocale::QLocale MLocalePrivate::createQLocale(MLocale::Category category) const +QLocale MLocalePrivate::createQLocale(MLocale::Category category) const { Q_Q(const MLocale); QLocale qlocale(q->categoryLanguage(category) |