Add tooltips and fix archive download task
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
29a6db171f
commit
5d3549a5e9
@ -124,6 +124,7 @@ void ArchiveDownloadTask::extractJava(QString input)
|
||||
stepProgress(*progressStep);
|
||||
});
|
||||
m_task->start();
|
||||
return;
|
||||
}
|
||||
|
||||
emitFailed(tr("Could not determine archive type!"));
|
||||
|
@ -264,7 +264,7 @@ void JavaPage::on_removeJavaButton_clicked()
|
||||
for (auto& entry : entries) {
|
||||
if (dcast->path.startsWith(entry.canonicalFilePath())) {
|
||||
auto response = CustomMessageBox::selectable(this, tr("Confirm Deletion"),
|
||||
tr("You are about to remove \"%1\" java version.\n"
|
||||
tr("You are about to remove the Java installation named \"%1\".\n"
|
||||
"Are you sure?")
|
||||
.arg(entry.fileName()),
|
||||
QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No, QMessageBox::No)
|
||||
|
@ -253,6 +253,9 @@
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QCheckBox" name="autodetectJavaCheckBox">
|
||||
<property name="toolTip">
|
||||
<string>Automatically selects the Java version that is compatible with the current Minecraft instance, based on the major version required.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Autodetect Java version</string>
|
||||
</property>
|
||||
@ -299,6 +302,9 @@
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Automatically downloads and selects the Java version recommended by Mojang.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Auto-download Mojang Java</string>
|
||||
</property>
|
||||
|
Loading…
Reference in New Issue
Block a user