summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorZachHaber <zhaber2@illinois.edu>2016-12-28 03:37:14 -0600
committerZachHaber <zhaber2@illinois.edu>2016-12-28 03:37:14 -0600
commit866a004438e286b5cc7f5fb324a4a0b11d55dc8b (patch)
tree6a28e816c0db050e8d879c3ede6f2f3b5f472690 /src/mainwindow.cpp
parent8b8ddc8163a66ea938c93a19eef906ef73f13e91 (diff)
Fixed pluginListPath to allow spaces
lootcli was failing on FO4 b/c it was passing in a space.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 2 insertions, 4 deletions
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) {