From 495846534d560f825819b7ee391e8c461ce76e4f Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 7 Dec 2015 20:09:34 +0100 Subject: - no longer displaying "not logged in". This was too confusing for some - fixed files missing from vfs if parent directory exists in real destination dir - implemented plugin api to access current profile - steam game detection now also works for 64-bit games - removed reference to archive tab from tutorial - usvfs log level is now taken from config - some cleanup --- src/mainwindow.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 71013c3c..a3a5bf38 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -355,9 +355,7 @@ void MainWindow::updateWindowTitle(const QString &accountName, bool premium) ToQString(GameInfo::instance().getGameName()), m_OrganizerCore.getVersion().displayString()); - if (accountName.isEmpty()) { - title.append(" (not logged in)"); - } else { + if (!accountName.isEmpty()) { title.append(QString(" (%1%2)").arg(accountName, premium ? "*" : "")); } @@ -582,7 +580,7 @@ bool MainWindow::errorReported(QString &logFile) int MainWindow::checkForProblems() { - int numProblems = 0; + size_t numProblems = 0; for (IPluginDiagnose *diagnose : m_PluginContainer.plugins()) { numProblems += diagnose->activeProblems().size(); } @@ -4184,10 +4182,9 @@ void MainWindow::on_bossButton_clicked() HANDLE stdOutWrite = INVALID_HANDLE_VALUE; HANDLE stdOutRead = INVALID_HANDLE_VALUE; createStdoutPipe(&stdOutRead, &stdOutWrite); + m_OrganizerCore.prepareVFS(); HANDLE loot = startBinary(QFileInfo(qApp->applicationDirPath() + "/loot/lootcli.exe"), parameters.join(" "), - m_OrganizerCore.currentProfile()->name(), - m_OrganizerCore.settings().logLevel(), qApp->applicationDirPath() + "/loot", true, stdOutWrite); -- cgit v1.3.1