mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
refactor: LaunchController
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
ba325a6012
commit
a9f3be9f45
13 changed files with 192 additions and 230 deletions
|
|
@ -216,8 +216,7 @@ class Application : public QApplication {
|
|||
|
||||
public slots:
|
||||
bool launch(BaseInstance* instance,
|
||||
bool online = true,
|
||||
bool demo = false,
|
||||
LaunchMode mode = LaunchMode::Normal,
|
||||
std::shared_ptr<MinecraftTarget> targetToJoin = nullptr,
|
||||
shared_qobject_ptr<MinecraftAccount> accountToUse = nullptr,
|
||||
const QString& offlineName = QString());
|
||||
|
|
@ -311,7 +310,7 @@ class Application : public QApplication {
|
|||
QString m_serverToJoin;
|
||||
QString m_worldToJoin;
|
||||
QString m_profileToUse;
|
||||
bool m_offline = false;
|
||||
bool m_launchOffline = false;
|
||||
QString m_offlineName;
|
||||
bool m_liveCheck = false;
|
||||
QList<QUrl> m_urlsToImport;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue