summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-06 07:35:01 (GMT)
committeraxis <qt-info@nokia.com>2009-07-06 07:45:24 (GMT)
commit8a9b84583d8b41124c867b7e5d462799345702d3 (patch)
tree849c26349d83d8f6abc054c39c7772c0e3d746de /src/gui
parent642e681366c2422bde7dce826ed01aa2822fcddb (diff)
downloadQt-8a9b84583d8b41124c867b7e5d462799345702d3.zip
Qt-8a9b84583d8b41124c867b7e5d462799345702d3.tar.gz
Qt-8a9b84583d8b41124c867b7e5d462799345702d3.tar.bz2
Fixed out-of-order construction.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/qtextedit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/qtextedit.cpp b/src/gui/widgets/qtextedit.cpp
index dc6e229..4da562d 100644
--- a/src/gui/widgets/qtextedit.cpp
+++ b/src/gui/widgets/qtextedit.cpp
@@ -108,8 +108,9 @@ public:
QTextEditPrivate::QTextEditPrivate()
: control(0),
autoFormatting(QTextEdit::AutoNone), tabChangesFocus(false),
- lineWrap(QTextEdit::WidgetWidth), lineWrapColumnOrWidth(0), clickCausedFocus(0),
- wordWrap(QTextOption::WrapAtWordBoundaryOrAnywhere), textFormat(Qt::AutoText)
+ lineWrap(QTextEdit::WidgetWidth), lineWrapColumnOrWidth(0),
+ wordWrap(QTextOption::WrapAtWordBoundaryOrAnywhere), clickCausedFocus(0),
+ textFormat(Qt::AutoText)
{
ignoreAutomaticScrollbarAdjustment = false;
preferRichText = false;