Skip to content

Commit

Permalink
Output filename not QFile
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianTM committed Mar 22, 2024
1 parent a12b272 commit f5da8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ bool MainWindow::downloadPackageList(bool force_download)
pushCancel->setDisabled(true);
QFile outputFile("allPackages");
if (!outputFile.open(QIODevice::WriteOnly | QIODevice::Text)) {
qWarning() << "Could not open: " << outputFile;
qWarning() << "Could not open: " << outputFile.fileName();
}

QTextStream outStream(&outputFile);
Expand Down

0 comments on commit f5da8f2

Please sign in to comment.