diff options
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index b67df582..547dc300 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -475,10 +475,9 @@ MainWindow::MainWindow(QWidget *parent) : for(int i = 0;backendList[i].backend_name[0];i++) { QList<QListWidgetItem*> items = ui->backendListWidget->findItems( - backendList[i].full_string, Qt::MatchFixedString - ); - foreach(const QListWidgetItem *item, items) - ui->backendListWidget->setItemHidden(item, false); + backendList[i].full_string, Qt::MatchFixedString); + foreach(QListWidgetItem *item, items) + item->setHidden(false); } loadConfig(getDefaultConfigName()); |