mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-19 03:00:54 +03:00
Rename warning to caution
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user