diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-04-07 16:54:25 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-05-05 15:05:17 -0700 |
commit | a3173b53717fcea686f267f4eb8fd9788e6677db (patch) | |
tree | a0cf79f0efb05e797426c81438370aeeb0f5ca66 /launcher/Application.h | |
parent | 54fb799d95faa3d646cfc835937e5fbdb10afa4d (diff) | |
download | PrismLauncher-a3173b53717fcea686f267f4eb8fd9788e6677db.tar.gz PrismLauncher-a3173b53717fcea686f267f4eb8fd9788e6677db.tar.bz2 PrismLauncher-a3173b53717fcea686f267f4eb8fd9788e6677db.zip |
fix: ensure Application accepts URLs and local files form cmd args
refactor: Move curseforge:// url scheme detection to Import Page
feat: pass along extra CF pack info so pack metadata is established.
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/Application.h')
-rw-r--r-- | launcher/Application.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/launcher/Application.h b/launcher/Application.h index ced0af17..83bfa9ef 100644 --- a/launcher/Application.h +++ b/launcher/Application.h @@ -211,6 +211,8 @@ public: int suitableMaxMem(); + void addImportUrl(QString const& url); + signals: void updateAllowedChanged(bool status); void globalSettingsAboutToOpen(); @@ -314,7 +316,7 @@ public: QString m_serverToJoin; QString m_profileToUse; bool m_liveCheck = false; - QList<QUrl> m_zipsToImport; + QList<QUrl> m_urlsToImport; QString m_instanceIdToShowWindowOf; std::unique_ptr<QFile> logFile; }; |