Obligatory formatting fix commit
Signed-off-by: timoreo <contact@timoreo.fr>
This commit is contained in:
parent
f946964490
commit
68446c2a54
launcher
@ -95,7 +95,7 @@ void JavaDownloader::executeTask()
|
|||||||
elementDownload->addNetAction(dl);
|
elementDownload->addNetAction(dl);
|
||||||
}
|
}
|
||||||
QObject::connect(elementDownload, &NetJob::finished, [elementDownload] { elementDownload->deleteLater(); });
|
QObject::connect(elementDownload, &NetJob::finished, [elementDownload] { elementDownload->deleteLater(); });
|
||||||
QObject::connect(elementDownload, &NetJob::succeeded, [this]{emitSucceeded();});
|
QObject::connect(elementDownload, &NetJob::succeeded, [this] { emitSucceeded(); });
|
||||||
elementDownload->start();
|
elementDownload->start();
|
||||||
});
|
});
|
||||||
download->start();
|
download->start();
|
||||||
|
@ -9,4 +9,4 @@ QString currentSystem();
|
|||||||
QString currentArch(LaunchContext launchContext);
|
QString currentArch(LaunchContext launchContext);
|
||||||
QString runCheckerForArch(LaunchContext launchContext);
|
QString runCheckerForArch(LaunchContext launchContext);
|
||||||
QString useQTForArch();
|
QString useQTForArch();
|
||||||
}
|
}
|
||||||
|
@ -36,4 +36,4 @@ QVariant LaunchContext::getRealJavaArch()
|
|||||||
QVariant LaunchContext::getJavaPath()
|
QVariant LaunchContext::getJavaPath()
|
||||||
{
|
{
|
||||||
return m_instanceSettings->get("JavaPath");
|
return m_instanceSettings->get("JavaPath");
|
||||||
}
|
}
|
||||||
|
@ -31,4 +31,4 @@ class LaunchContext
|
|||||||
QVariant getJavaPath();
|
QVariant getJavaPath();
|
||||||
private:
|
private:
|
||||||
SettingsObjectPtr m_instanceSettings;
|
SettingsObjectPtr m_instanceSettings;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user