Ssbugs, removal of re-vive, and dashboard loop tick (#277)
* minor changes * debugging testing * removed un-needed log calls * moved some logic to run only when dashboard is active * fixed linker error * added casting * removed revive tab * removed stray revive reference * removed revive from sources * fixed misc formatting issues * added newline
This commit is contained in:
@@ -15,8 +15,6 @@ class SettingsTabController : public QObject
|
||||
Q_OBJECT
|
||||
Q_PROPERTY( bool autoStartEnabled READ autoStartEnabled WRITE
|
||||
setAutoStartEnabled NOTIFY autoStartEnabledChanged )
|
||||
Q_PROPERTY( bool forceRevivePage READ forceRevivePage WRITE
|
||||
setForceRevivePage NOTIFY forceRevivePageChanged )
|
||||
|
||||
private:
|
||||
OverlayController* parent;
|
||||
@@ -24,24 +22,20 @@ private:
|
||||
unsigned settingsUpdateCounter = 0;
|
||||
|
||||
bool m_autoStartEnabled = false;
|
||||
bool m_forceRevivePage = false;
|
||||
|
||||
public:
|
||||
void initStage1();
|
||||
void initStage2( OverlayController* parent );
|
||||
|
||||
void eventLoopTick();
|
||||
void dashboardLoopTick();
|
||||
|
||||
bool autoStartEnabled() const;
|
||||
bool forceRevivePage() const;
|
||||
|
||||
public slots:
|
||||
void setAutoStartEnabled( bool value, bool notify = true );
|
||||
void setForceRevivePage( bool value, bool notify = true );
|
||||
|
||||
signals:
|
||||
void autoStartEnabledChanged( bool value );
|
||||
void forceRevivePageChanged( bool value );
|
||||
};
|
||||
|
||||
} // namespace advsettings
|
||||
|
||||
Reference in New Issue
Block a user