aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditoroverlay.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/texteditoroverlay.h')
-rw-r--r--src/plugins/texteditor/texteditoroverlay.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/texteditor/texteditoroverlay.h b/src/plugins/texteditor/texteditoroverlay.h
index 08a508f1da..42a0ef33da 100644
--- a/src/plugins/texteditor/texteditoroverlay.h
+++ b/src/plugins/texteditor/texteditoroverlay.h
@@ -41,14 +41,14 @@ namespace Internal {
struct OverlaySelection
{
- OverlaySelection():m_fixedLength(-1), m_dropShadow(false){}
+ OverlaySelection() = default;
QTextCursor m_cursor_begin;
QTextCursor m_cursor_end;
QColor m_fg;
QColor m_bg;
- int m_fixedLength;
- bool m_dropShadow;
+ int m_fixedLength = -1;
+ bool m_dropShadow = false;
};
class TextEditorOverlay : public QObject