diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-22 11:58:47 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-22 11:58:47 +0200 |
commit | f25a8fb49abf8a9b7ba5d6f8fbd4c05bd647c1c0 (patch) | |
tree | c1066b0c9bd9d4a0e1be952dcad7b65af39baa79 /framework/src/startupcheck.h | |
parent | 2a60a0723257cfd6855233b9af27dc9735915435 (diff) | |
download | kube-f25a8fb49abf8a9b7ba5d6f8fbd4c05bd647c1c0.tar.gz kube-f25a8fb49abf8a9b7ba5d6f8fbd4c05bd647c1c0.zip |
Fixed showing a loginview after the account setup
The view managment is starting to become a mess. I guess we'll need
something like a state machine in the long run managing the view
transitions.
Diffstat (limited to 'framework/src/startupcheck.h')
-rw-r--r-- | framework/src/startupcheck.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/framework/src/startupcheck.h b/framework/src/startupcheck.h index dd79ee04..b8b2e3a0 100644 --- a/framework/src/startupcheck.h +++ b/framework/src/startupcheck.h | |||
@@ -21,12 +21,9 @@ | |||
21 | 21 | ||
22 | class StartupCheck : public QObject { | 22 | class StartupCheck : public QObject { |
23 | Q_OBJECT | 23 | Q_OBJECT |
24 | Q_PROPERTY(bool noAccount READ noAccount CONSTANT); | ||
24 | public: | 25 | public: |
25 | StartupCheck(QObject *parent = nullptr); | 26 | StartupCheck(QObject *parent = nullptr); |
26 | 27 | ||
27 | signals: | 28 | bool noAccount() const; |
28 | void noAccount(); | ||
29 | |||
30 | private Q_SLOTS: | ||
31 | void check(); | ||
32 | }; | 29 | }; |