diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2012-07-06 19:26:39 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2012-07-06 19:26:39 (GMT) |
commit | ecfc53da7e93a3c9081d31b25cc7950aa5b780f7 (patch) | |
tree | e421bbb76d5f4a5b05e7c0ef97087f338fda0f18 /Source/QtDialog/AddCacheEntry.cxx | |
parent | 370c422def60c84dc54da9c92cacf9b6ff7522ac (diff) | |
download | CMake-ecfc53da7e93a3c9081d31b25cc7950aa5b780f7.zip CMake-ecfc53da7e93a3c9081d31b25cc7950aa5b780f7.tar.gz CMake-ecfc53da7e93a3c9081d31b25cc7950aa5b780f7.tar.bz2 |
cmake-gui: Fix code to respect current locale.
This means non-ascii characters now work correctly on systems that
have a non-ascii 8 bit encoding as the current locale.
Diffstat (limited to 'Source/QtDialog/AddCacheEntry.cxx')
-rw-r--r-- | Source/QtDialog/AddCacheEntry.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/AddCacheEntry.cxx b/Source/QtDialog/AddCacheEntry.cxx index 00aaf69..e7fedc5 100644 --- a/Source/QtDialog/AddCacheEntry.cxx +++ b/Source/QtDialog/AddCacheEntry.cxx @@ -15,7 +15,7 @@ #include <QCompleter> static const int NumTypes = 4; -static const QString TypeStrings[NumTypes] = +static const QByteArray TypeStrings[NumTypes] = { "BOOL", "PATH", "FILEPATH", "STRING" }; static const QCMakeProperty::PropertyType Types[NumTypes] = { QCMakeProperty::BOOL, QCMakeProperty::PATH, |