summaryrefslogtreecommitdiffstats
path: root/qtools/qstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qstring.cpp')
-rw-r--r--qtools/qstring.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp
index e13ffc8..4707fed 100644
--- a/qtools/qstring.cpp
+++ b/qtools/qstring.cpp
@@ -12212,6 +12212,14 @@ QString::QString( const QByteArray& ba )
d = new QStringData(uc,l,l);
}
+QString::QString( const QCString& ba )
+{
+ Q2HELPER(stat_construct_ba++)
+ uint l;
+ QChar *uc = internalAsciiToUnicode(ba,&l);
+ d = new QStringData(uc,l,l);
+}
+
/*!
Constructs a string that is a deep copy of the
first \a length QChar in the array \a unicode.