diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-03-19 08:32:55 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2024-03-29 21:31:02 +0300 |
commit | 4035e1b59e2fd8797e34c33dd27321ec9bab6368 (patch) | |
tree | 9fe58f4229fc2a49e299148fabe228aa8635035e /src/widgets/qtextedit.cpp | |
parent | 9a94c79bd48ed053b9458212ebb9862ef90f7a7e (diff) | |
download | tqt3-4035e1b59e2fd8797e34c33dd27321ec9bab6368.tar.gz tqt3-4035e1b59e2fd8797e34c33dd27321ec9bab6368.zip |
TQTextEdit: add missing mightStartDrag initialization
mightStartDrag might have been used uninitialized when moving mouse with
pressed mouse button into window.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'src/widgets/qtextedit.cpp')
-rw-r--r-- | src/widgets/qtextedit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/qtextedit.cpp b/src/widgets/qtextedit.cpp index 88a727f66..75e54f112 100644 --- a/src/widgets/qtextedit.cpp +++ b/src/widgets/qtextedit.cpp @@ -968,6 +968,7 @@ void TQTextEdit::init() wrapMode = WidgetWidth; wrapWidth = -1; wPolicy = AtWhiteSpace; + mightStartDrag = FALSE; inDnD = FALSE; doc->setFormatter( new TQTextFormatterBreakWords ); doc->formatCollection()->defaultFormat()->setFont( TQScrollView::font() ); |