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>
(cherry picked from commit 2b1c78cb53)
r14.1.x
Alexander Golubev 9 months ago committed by Michele Calgaro
parent a097a55f62
commit bca1fe4e8f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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() );

Loading…
Cancel
Save