mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
renamed dialog and button action
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -184,18 +184,18 @@ InstallDialog::InstallDialog(const QString& uid, QWidget* parent)
|
||||
QList<BasePage*> InstallDialog::getPages()
|
||||
{
|
||||
return {
|
||||
// NeoForge
|
||||
// Mojang
|
||||
new InstallJavaPage("net.minecraft.java", "", tr("Mojang")),
|
||||
// Forge
|
||||
// Adoptium
|
||||
new InstallJavaPage("net.adoptium.java", "", tr("Adoptium")),
|
||||
// Fabric
|
||||
// Azul
|
||||
new InstallJavaPage("com.azul.java", "", tr("Azul")),
|
||||
};
|
||||
}
|
||||
|
||||
QString InstallDialog::dialogTitle()
|
||||
{
|
||||
return tr("Install Loader");
|
||||
return tr("Install Java");
|
||||
}
|
||||
|
||||
void InstallDialog::validate(BasePage* page)
|
||||
@ -230,7 +230,11 @@ void InstallDialog::done(int result)
|
||||
ProgressDialog pg(this);
|
||||
pg.setSkipButton(true, tr("Abort"));
|
||||
pg.execWithTask(task.get());
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user