MSVC: fix compiler warnings

This commit is contained in:
wmayer
2024-02-23 15:32:38 +01:00
committed by wwmayer
parent 78ffa29629
commit 64a91968a3
8 changed files with 12 additions and 9 deletions

View File

@@ -476,7 +476,7 @@ void ModelSelect::onSelectModel(const QItemSelection& selected, const QItemSelec
ui->standardButtons->button(QDialogButtonBox::Ok)->setEnabled(true);
ui->buttonFavorite->setEnabled(true);
}
catch (const std::exception& e) {
catch (const std::exception&) {
_selected = QString::fromStdString("");
clearMaterialModel();
ui->standardButtons->button(QDialogButtonBox::Ok)->setEnabled(false);