summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2024-03-19 08:32:55 +0300
committerTDE Gitea <[email protected]>2024-04-03 00:08:27 +0000
commit2b1c78cb539b208290adb189adccd125cef19105 (patch)
treee30e9ba53b0d86623cd1aa1272af4085b3010a60 /src/widgets
parent1b951e5229a369d50cb05dfcb184d9b600169ed3 (diff)
downloadtqt3-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 <[email protected]>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/qtextedit.cpp1
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() );