diff options
author | hjk <qtc-committer@nokia.com> | 2009-06-18 13:36:05 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-06-18 14:29:25 (GMT) |
commit | d7005487b789e2bc5a1400148b4f317142a381ac (patch) | |
tree | 6c9ac9d8f5398b51780c0ef50f958c35a37dfd1f /src/corelib/tools/qstring.cpp | |
parent | 45c1b4f3d48dd8f7c33b259b6f73cf628798a23d (diff) | |
download | Qt-d7005487b789e2bc5a1400148b4f317142a381ac.zip Qt-d7005487b789e2bc5a1400148b4f317142a381ac.tar.gz Qt-d7005487b789e2bc5a1400148b4f317142a381ac.tar.bz2 |
Use enum Qt::Uninitialized instead of struct QString::Uninitialized
There is no BC issue as the changed constructor was introduced
recently and there is no released version of Qt using it.
Reviewed-by: mariusSO
Diffstat (limited to 'src/corelib/tools/qstring.cpp')
-rw-r--r-- | src/corelib/tools/qstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 3b70f44..083253f 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -1019,7 +1019,7 @@ QString::QString(int size, QChar ch) \internal */ -QString::QString(int size, Uninitialized) +QString::QString(int size, enum Qt::Uninitialized) { d = (Data*) qMalloc(sizeof(Data)+size*sizeof(QChar)); d->ref = 1; |