summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-09-02 08:51:45 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-09-02 10:06:33 (GMT)
commitc4bc2e09e06c4b3ecca1efccd3c3272e8410d4f9 (patch)
tree4deddff13abbf2976e7a7be0fe9ce044dc8d6ea5 /src/corelib/io
parent0da575d9e8b391a378007bbf097b936b9ab82931 (diff)
downloadQt-c4bc2e09e06c4b3ecca1efccd3c3272e8410d4f9.zip
Qt-c4bc2e09e06c4b3ecca1efccd3c3272e8410d4f9.tar.gz
Qt-c4bc2e09e06c4b3ecca1efccd3c3272e8410d4f9.tar.bz2
QTextStreamPrivate: Initialization in constructor missing
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qtextstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qtextstream.h b/src/corelib/io/qtextstream.h
index c922833..d83455a 100644
--- a/src/corelib/io/qtextstream.h
+++ b/src/corelib/io/qtextstream.h
@@ -274,7 +274,7 @@ class Q_CORE_EXPORT QTextStreamManipulator
{
public:
QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; }
- QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; }
+ QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; }
void exec(QTextStream &s) { if (mf) { (s.*mf)(arg); } else { (s.*mc)(ch); } }
private: