forked from qt-creator/qt-creator
TextEditor: Initialize some members
Coverity was complaining about these, in some places even rightly so:-) Change-Id: Ia85cdd2c74f05edba6f0d4534aa9f2ee2a750595 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -245,7 +245,7 @@ class BaseTextEditorPrivate
|
||||
public:
|
||||
BaseTextEditorPrivate() {}
|
||||
|
||||
TextEditorFactoryPrivate *m_origin;
|
||||
TextEditorFactoryPrivate *m_origin = nullptr;
|
||||
};
|
||||
|
||||
class HoverHandlerRunner
|
||||
@@ -561,7 +561,7 @@ public:
|
||||
void disableBlockSelection(BlockSelectionUpdateKind kind);
|
||||
void resetCursorFlashTimer();
|
||||
QBasicTimer m_cursorFlashTimer;
|
||||
bool m_cursorVisible;
|
||||
bool m_cursorVisible = true;
|
||||
bool m_moveLineUndoHack = false;
|
||||
|
||||
QTextCursor m_findScopeStart;
|
||||
|
||||
Reference in New Issue
Block a user