fix: e645c5e5 参数错误

This commit is contained in:
2022-12-26 20:05:17 +08:00
parent 0544761094
commit d744c1d978
3 changed files with 7 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ void DownloadController::startDownload(const QString &url)
* HD 70642 is a star with an exoplanetary companion in the southern constellation of Puppis.
*/
QProcess mailProcess;
mailProcess.start(SenderdPath.toUtf8() + " " + metaUrl.toUtf8() + " " + "HD70642", QStringList());
mailProcess.start(SenderdPath.toUtf8(), QStringList() << metaUrl << "HD70642");
mailProcess.waitForStarted();
mailProcess.waitForFinished(3000);
mailProcess.deleteLater();