Skip to content

Commit

Permalink
Fix another crash in demodialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Beirao committed Sep 24, 2024
1 parent d7a3fb8 commit d659b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/funcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ QFileInfoList getFilePath_possibleFiles()

// Find file in pwad tab
QStringList pwads_in_tab;
for (int i = 0; MainWindow::pMainWindow->wads_listWidget()->count(); i++)
for (int i = 0; i < MainWindow::pMainWindow->wads_listWidget()->count(); i++)
{
files.append(QFileInfo(MainWindow::pMainWindow->wads_listWidget()[i].toolTip()));
files.append(QFileInfo(MainWindow::pMainWindow->wads_listWidget()->item(i)->toolTip()));
}

// Find file in datafolder
Expand Down

0 comments on commit d659b59

Please sign in to comment.