diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-03-19 08:32:55 +0300 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2024-04-03 00:08:27 +0000 |
commit | 2b1c78cb539b208290adb189adccd125cef19105 (patch) | |
tree | e30e9ba53b0d86623cd1aa1272af4085b3010a60 | |
parent | 1b951e5229a369d50cb05dfcb184d9b600169ed3 (diff) | |
download | tqt3-2b1c78cb539b208290adb189adccd125cef19105.tar.gz tqt3-2b1c78cb539b208290adb189adccd125cef19105.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>
-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() ); |