summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qstring.cpp b/src/tools/qstring.cpp
index 3986ecf..f9f3faa 100644
--- a/src/tools/qstring.cpp
+++ b/src/tools/qstring.cpp
@@ -6000,7 +6000,7 @@ void QString::setSecurityUnPaged(bool lock) {
QCString QString::utf8() const
{
if (!d->cString) {
- d->cString = new QCString;
+ d->cString = new QCString("");
}
if(d == shared_null)
{
@@ -6254,7 +6254,7 @@ QString QString::fromLatin1( const char* chars, int len )
QCString QString::local8Bit() const
{
if (!d->cString) {
- d->cString = new QCString;
+ d->cString = new QCString("");
}
if(d == shared_null)
{