Add download button to more pages + UI fixes
Signed-off-by: timoreo <contact@timoreo.fr>
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
#include "JavaCommon.h"
|
||||
#include "Application.h"
|
||||
|
||||
#include "JavaDownloader.h"
|
||||
#include "java/JavaInstallList.h"
|
||||
#include "java/JavaUtils.h"
|
||||
#include "FileSystem.h"
|
||||
@@ -374,6 +375,11 @@ void InstanceSettingsPage::loadSettings()
|
||||
ui->serverJoinAddress->setText(m_settings->get("JoinServerOnLaunchAddress").toString());
|
||||
}
|
||||
|
||||
void InstanceSettingsPage::on_javaDownloadBtn_clicked()
|
||||
{
|
||||
JavaDownloader::showPrompts(this);
|
||||
}
|
||||
|
||||
void InstanceSettingsPage::on_javaDetectBtn_clicked()
|
||||
{
|
||||
if (JavaUtils::getJavaCheckPath().isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user