diff options
author | jopejoe1 <johannes@joens.email> | 2022-07-11 20:46:11 +0200 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-09-15 18:44:18 -0300 |
commit | 29dcb9d2747c61b20fe9f870574bc9c4c958e82a (patch) | |
tree | 3900c7746dc89cabcce8063bcb24829630763863 /launcher/LaunchController.h | |
parent | 1ca2be0039c64f53631a15f72e7c3739cae3e562 (diff) | |
download | PrismLauncher-29dcb9d2747c61b20fe9f870574bc9c4c958e82a.tar.gz PrismLauncher-29dcb9d2747c61b20fe9f870574bc9c4c958e82a.tar.bz2 PrismLauncher-29dcb9d2747c61b20fe9f870574bc9c4c958e82a.zip |
Added Launch Demo button.
Signed-off-by: jopejoe1 <johannes@joens.email>
Diffstat (limited to 'launcher/LaunchController.h')
-rw-r--r-- | launcher/LaunchController.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/LaunchController.h b/launcher/LaunchController.h index 2171ad5e..af6c98d1 100644 --- a/launcher/LaunchController.h +++ b/launcher/LaunchController.h @@ -63,6 +63,10 @@ public: m_online = online; } + void setDemo(bool demo) { + m_demo = demo; + } + void setProfiler(BaseProfilerFactory *profiler) { m_profiler = profiler; } @@ -101,6 +105,7 @@ private slots: private: BaseProfilerFactory *m_profiler = nullptr; bool m_online = true; + bool m_demo = false; InstancePtr m_instance; QWidget * m_parentWidget = nullptr; InstanceWindow *m_console = nullptr; |