X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fmultilineedit.h;fp=src%2Fuisupport%2Fmultilineedit.h;h=a8d2d1300cee1a6c90595e28d202fcdd5daa1c1e;hp=61fafa6e810099baa1455a83140cd2aa891718c9;hb=158443f71d48215eea8b47b836b61afd77654b78;hpb=3a3e844f9fcfd12235a0086af75ecd503b621ef4 diff --git a/src/uisupport/multilineedit.h b/src/uisupport/multilineedit.h index 61fafa6e..a8d2d130 100644 --- a/src/uisupport/multilineedit.h +++ b/src/uisupport/multilineedit.h @@ -128,18 +128,18 @@ private: private: QStringList _history; QHash _tempHistory; - qint32 _idx; - Mode _mode; - bool _singleLine; - int _minHeight; - int _maxHeight; - bool _scrollBarsEnabled; - bool _pasteProtectionEnabled; - bool _emacsMode; - int _completionSpace; + qint32 _idx{0}; + Mode _mode{SingleLine}; + bool _singleLine{true}; + int _minHeight{1}; + int _maxHeight{5}; + bool _scrollBarsEnabled{true}; + bool _pasteProtectionEnabled{true}; + bool _emacsMode{false}; + int _completionSpace{0}; QSize _sizeHint; - qreal _lastDocumentHeight; + qreal _lastDocumentHeight{-1}; QMap _mircColorMap;