summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/AddCacheEntry.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2012-07-06 19:26:39 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2012-07-06 19:26:39 (GMT)
commitecfc53da7e93a3c9081d31b25cc7950aa5b780f7 (patch)
treee421bbb76d5f4a5b05e7c0ef97087f338fda0f18 /Source/QtDialog/AddCacheEntry.cxx
parent370c422def60c84dc54da9c92cacf9b6ff7522ac (diff)
downloadCMake-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.cxx2
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,