Rename warning to caution

This commit is contained in:
spiros
2025-05-29 02:40:32 +03:00
parent f721d4c190
commit 5758597158
3 changed files with 2 additions and 2 deletions

View File

@@ -365,7 +365,7 @@ void MainWindow::updateUI()
connect(gridView, &GridView::diskSelected, this, [=](int selectedIndex) {
if (selectedIndex >= 0 && selectedIndex < buttonGroup->buttons().size()) {
auto *gridButton = qobject_cast<QPushButton *>(buttonGroup->buttons().at(selectedIndex));
QAbstractButton *gridButton = buttonGroup->buttons().at(selectedIndex);
if (gridButton) {
gridButton->click();
}