From f25a8fb49abf8a9b7ba5d6f8fbd4c05bd647c1c0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 22 Sep 2017 11:58:47 +0200 Subject: 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. --- framework/src/startupcheck.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'framework/src/startupcheck.h') 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 @@ class StartupCheck : public QObject { Q_OBJECT + Q_PROPERTY(bool noAccount READ noAccount CONSTANT); public: StartupCheck(QObject *parent = nullptr); -signals: - void noAccount(); - -private Q_SLOTS: - void check(); + bool noAccount() const; }; -- cgit v1.2.3