diff options
| author | Tannin <sherb@gmx.net> | 2015-12-07 20:09:34 +0100 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2015-12-07 20:09:34 +0100 |
| commit | 495846534d560f825819b7ee391e8c461ce76e4f (patch) | |
| tree | cd6b5c03cce72aaba8489ea61876313829c44a3a /src/mainwindow.cpp | |
| parent | fe8c3aaea58400425b9195bb670a1b4e8c9db10d (diff) | |
- 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
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
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<IPluginDiagnose>()) {
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);
|
