summaryrefslogtreecommitdiff
path: root/src/designer/src/lib/shared/textpropertyeditor_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/lib/shared/textpropertyeditor_p.h')
-rw-r--r--src/designer/src/lib/shared/textpropertyeditor_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/designer/src/lib/shared/textpropertyeditor_p.h b/src/designer/src/lib/shared/textpropertyeditor_p.h
index 7b79166a9..25b7f543d 100644
--- a/src/designer/src/lib/shared/textpropertyeditor_p.h
+++ b/src/designer/src/lib/shared/textpropertyeditor_p.h
@@ -128,13 +128,13 @@ namespace qdesigner_internal {
void setRegularExpressionValidator(const QString &pattern);
void markIntermediateState();
- TextPropertyValidationMode m_validationMode;
- UpdateMode m_updateMode;
+ TextPropertyValidationMode m_validationMode = ValidationSingleLine;
+ UpdateMode m_updateMode = UpdateAsYouType;
PropertyLineEdit* m_lineEdit;
// Cached text containing real newline characters.
QString m_cachedText;
- bool m_textEdited;
+ bool m_textEdited = false;
};
}