diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-19 19:59:39 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-19 19:59:39 +0100 |
commit | dadc9780a49c467ab469abe1c9384e2ac653babf (patch) | |
tree | 25f1034e2e7cdef0c36e4138fef5e4ddfe74703e /plugingui/lineedit.h | |
parent | 52aa0fb9a1745bd7919c42a37ba48f6bf77e2984 (diff) |
Fix missing initialisations.
Diffstat (limited to 'plugingui/lineedit.h')
-rw-r--r-- | plugingui/lineedit.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; }; |