mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 17:32:15 -07:00
Lint.
This commit is contained in:
parent
b6a96089ec
commit
b26005a0c4
3 changed files with 9 additions and 13 deletions
|
|
@ -1045,11 +1045,11 @@ void TabDeckEditor::openDeckFromFile(const QString &fileName, DeckOpenLocation d
|
|||
}
|
||||
} else {
|
||||
delete l;
|
||||
updateBannerCardComboBox();
|
||||
if (!l->getBannerCard().isEmpty()) {
|
||||
qDebug() << "Found banner card:" << l->getBannerCard();
|
||||
bannerCardComboBox->setCurrentIndex(bannerCardComboBox->findText(l->getBannerCard()));
|
||||
}
|
||||
updateBannerCardComboBox();
|
||||
if (!l->getBannerCard().isEmpty()) {
|
||||
qDebug() << "Found banner card:" << l->getBannerCard();
|
||||
bannerCardComboBox->setCurrentIndex(bannerCardComboBox->findText(l->getBannerCard()));
|
||||
}
|
||||
QMessageBox::critical(this, tr("Error"), tr("Could not open deck at %1").arg(fileName));
|
||||
}
|
||||
setSaveStatus(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue