Fixed spacing

This commit is contained in:
timoreo 2022-01-24 07:12:19 +01:00
parent 6d22794cf9
commit a2d88f6df4
No known key found for this signature in database
GPG Key ID: 121A72C3512BA288
2 changed files with 3 additions and 3 deletions

View File

@ -355,7 +355,7 @@ void ModFolderPage::on_actionInstall_mods_triggered()
bool hasFabric = !((MinecraftInstance *)m_inst)->getPackProfile()->getComponentVersion("net.fabricmc.fabric-loader").isEmpty();
bool hasForge = !((MinecraftInstance *)m_inst)->getPackProfile()->getComponentVersion("net.minecraftforge").isEmpty();
if (!hasFabric && !hasForge) {
QMessageBox::critical(this,tr("Error"),tr("Please install a mod loader first !"));
QMessageBox::critical(this,tr("Error"),tr("Please install a mod loader first!"));
return;
}
ModDownloadDialog mdownload(m_mods, this, m_inst);

View File

@ -147,7 +147,7 @@ void FlameModPage::onSelectionChanged(QModelIndex first, QModelIndex second)
ui->versionSelectionBox->addItem(version.version, QVariant(version.downloadUrl));
}
if(ui->versionSelectionBox->count() == 0){
ui->versionSelectionBox->addItem(tr("No Valid Version found !"), QVariant(""));
ui->versionSelectionBox->addItem(tr("No Valid Version found!"), QVariant(""));
}
suggestCurrent();
@ -160,7 +160,7 @@ void FlameModPage::onSelectionChanged(QModelIndex first, QModelIndex second)
ui->versionSelectionBox->addItem(version.version, QVariant(version.downloadUrl));
}
if(ui->versionSelectionBox->count() == 0){
ui->versionSelectionBox->addItem(tr("No Valid Version found !"), QVariant(""));
ui->versionSelectionBox->addItem(tr("No Valid Version found!"), QVariant(""));
}
suggestCurrent();
}