diff --git a/mainwindow.cpp b/mainwindow.cpp index 5c26ac7e..592e495e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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);