summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2016-10-12 20:17:37 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2016-10-12 20:17:37 +0200
commitd1c0c9ed3a8d362e7508dd67b13da3523aec010f (patch)
treef01a6f85c97a877996bcd8ad4940105de81386fc /mainwindow.h
parentfc47c2db66dbe8e8548d29bd4b7a0a8e669c6fb4 (diff)
Not allowed: ISO C++ forbids in-class initialization of non-const static member ‘selected’
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mainwindow.h b/mainwindow.h
index a68dfd68..f1429561 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -37,8 +37,8 @@ struct UserInfo;
\brief holds the Password configuration settings
*/
struct passwordConfiguration {
- int selected = 0;
- int length = 16;
+ int selected;
+ int length;
QString Characters[4];
passwordConfiguration() {
length = 16;