From dadc9780a49c467ab469abe1c9384e2ac653babf Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 19 Dec 2015 19:59:39 +0100 Subject: Fix missing initialisations. --- plugingui/lineedit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugingui/lineedit.h') diff --git a/plugingui/lineedit.h b/plugingui/lineedit.h index 515ea94..ae1c7b8 100644 --- a/plugingui/lineedit.h +++ b/plugingui/lineedit.h @@ -63,16 +63,16 @@ private: Font font; std::string _text; - size_t pos = 0; + size_t pos{0}; std::string visibleText; - size_t offsetPos = 0; + size_t offsetPos{0}; enum state_t { Noop, WalkLeft, WalkRight, }; - state_t walkstate; + state_t walkstate{Noop}; bool readonly; }; -- cgit v1.2.3