summaryrefslogtreecommitdiff
path: root/plugingui/lineedit.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-12-19 19:59:39 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-12-19 19:59:39 +0100
commitdadc9780a49c467ab469abe1c9384e2ac653babf (patch)
tree25f1034e2e7cdef0c36e4138fef5e4ddfe74703e /plugingui/lineedit.h
parent52aa0fb9a1745bd7919c42a37ba48f6bf77e2984 (diff)
Fix missing initialisations.
Diffstat (limited to 'plugingui/lineedit.h')
-rw-r--r--plugingui/lineedit.h6
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;
};