aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-05-12 09:47:19 +0200
committerGitHub <noreply@github.com>2023-05-12 09:47:19 +0200
commitc5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f (patch)
treeb261ced954e5cccc7dd0f27d880689174a692d3b /launcher/Application.h
parentce5bb29c442cee3654c5f4287a999d5d6593032f (diff)
parentb16829b0f9a24dba9d4c9582f82affb30a416f1b (diff)
downloadPrismLauncher-c5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f.tar.gz
PrismLauncher-c5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f.tar.bz2
PrismLauncher-c5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f.zip
Merge pull request #961 from Ryex/better-tasks
Diffstat (limited to 'launcher/Application.h')
-rw-r--r--launcher/Application.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/Application.h b/launcher/Application.h
index 0d24a4e9..ced0af17 100644
--- a/launcher/Application.h
+++ b/launcher/Application.h
@@ -187,6 +187,10 @@ public:
return m_rootPath;
}
+ bool isPortable() {
+ return m_portable;
+ }
+
const Capabilities capabilities() {
return m_capabilities;
}
@@ -275,6 +279,7 @@ private:
QString m_rootPath;
Status m_status = Application::StartingUp;
Capabilities m_capabilities;
+ bool m_portable = false;
#ifdef Q_OS_MACOS
Qt::ApplicationState m_prevAppState = Qt::ApplicationInactive;