From 866a004438e286b5cc7f5fb324a4a0b11d55dc8b Mon Sep 17 00:00:00 2001 From: ZachHaber Date: Wed, 28 Dec 2016 03:37:14 -0600 Subject: Fixed pluginListPath to allow spaces lootcli was failing on FO4 b/c it was passing in a space. --- src/mainwindow.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0b49967c..c9b62945 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -4244,13 +4244,11 @@ void MainWindow::on_bossButton_clicked() dialog.show(); QString outPath = QDir::temp().absoluteFilePath("lootreport.json"); - //Trying to make it display the report. - reportURL=outPath.toStdString(); - + QStringList parameters; parameters << "--game" << m_OrganizerCore.managedGame()->gameShortName() << "--gamePath" << QString("\"%1\"").arg(m_OrganizerCore.managedGame()->gameDirectory().absolutePath()) - << "--pluginListPath" << QString("%1/loadorder.txt").arg(m_OrganizerCore.profilePath()) + << "--pluginListPath" << QString("\"%1/loadorder.txt\"").arg(m_OrganizerCore.profilePath()) << "--out" << outPath; if (m_DidUpdateMasterList) { -- cgit v1.3.1