Fixed spacing
This commit is contained in:
parent
6d22794cf9
commit
a2d88f6df4
@ -355,7 +355,7 @@ void ModFolderPage::on_actionInstall_mods_triggered()
|
|||||||
bool hasFabric = !((MinecraftInstance *)m_inst)->getPackProfile()->getComponentVersion("net.fabricmc.fabric-loader").isEmpty();
|
bool hasFabric = !((MinecraftInstance *)m_inst)->getPackProfile()->getComponentVersion("net.fabricmc.fabric-loader").isEmpty();
|
||||||
bool hasForge = !((MinecraftInstance *)m_inst)->getPackProfile()->getComponentVersion("net.minecraftforge").isEmpty();
|
bool hasForge = !((MinecraftInstance *)m_inst)->getPackProfile()->getComponentVersion("net.minecraftforge").isEmpty();
|
||||||
if (!hasFabric && !hasForge) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
ModDownloadDialog mdownload(m_mods, this, m_inst);
|
ModDownloadDialog mdownload(m_mods, this, m_inst);
|
||||||
|
@ -147,7 +147,7 @@ void FlameModPage::onSelectionChanged(QModelIndex first, QModelIndex second)
|
|||||||
ui->versionSelectionBox->addItem(version.version, QVariant(version.downloadUrl));
|
ui->versionSelectionBox->addItem(version.version, QVariant(version.downloadUrl));
|
||||||
}
|
}
|
||||||
if(ui->versionSelectionBox->count() == 0){
|
if(ui->versionSelectionBox->count() == 0){
|
||||||
ui->versionSelectionBox->addItem(tr("No Valid Version found !"), QVariant(""));
|
ui->versionSelectionBox->addItem(tr("No Valid Version found!"), QVariant(""));
|
||||||
}
|
}
|
||||||
|
|
||||||
suggestCurrent();
|
suggestCurrent();
|
||||||
@ -160,7 +160,7 @@ void FlameModPage::onSelectionChanged(QModelIndex first, QModelIndex second)
|
|||||||
ui->versionSelectionBox->addItem(version.version, QVariant(version.downloadUrl));
|
ui->versionSelectionBox->addItem(version.version, QVariant(version.downloadUrl));
|
||||||
}
|
}
|
||||||
if(ui->versionSelectionBox->count() == 0){
|
if(ui->versionSelectionBox->count() == 0){
|
||||||
ui->versionSelectionBox->addItem(tr("No Valid Version found !"), QVariant(""));
|
ui->versionSelectionBox->addItem(tr("No Valid Version found!"), QVariant(""));
|
||||||
}
|
}
|
||||||
suggestCurrent();
|
suggestCurrent();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user