From 3b0fbebc6ad8979d9d4551fcd9db1b8f2ca4bf48 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Fri, 17 Apr 2020 09:06:41 -0400 Subject: dump a bunch of counts for mods when selecting a profile --- src/main.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index ceaa59f2..b6b25dd7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -266,8 +266,6 @@ QString determineProfile(QStringList &arguments, const Settings &settings) if (!selectedProfileName) { log::debug("no configured profile"); selectedProfileName = "Default"; - } else { - log::debug("configured profile: {}", *selectedProfileName); } return *selectedProfileName; -- cgit v1.3.1 From e11ca50a57f1890eab160694ae9ee64f2f7096c8 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Fri, 17 Apr 2020 09:31:59 -0400 Subject: update available log is now info instead of debug added AV warning when a game plugin is no longer available --- src/main.cpp | 5 ++++- src/selfupdater.cpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index b6b25dd7..2bb3f964 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -298,7 +298,10 @@ MOBase::IPluginGame *determineCurrentGame( if (gameConfigured) { MOBase::IPluginGame *game = plugins.managedGame(*gameName); if (game == nullptr) { - reportError(QObject::tr("Plugin to handle %1 no longer installed").arg(*gameName)); + reportError( + QObject::tr("Plugin to handle %1 no longer installed. An antivirus might have deleted files.") + .arg(*gameName)); + return nullptr; } diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp index 5a70568e..086ae05f 100644 --- a/src/selfupdater.cpp +++ b/src/selfupdater.cpp @@ -160,7 +160,7 @@ void SelfUpdater::testForUpdate(const Settings& settings) VersionInfo newestVer(newest["tag_name"].toString()); if (newestVer > this->m_MOVersion) { m_UpdateCandidate = newest; - log::debug("update available: {} -> {}", + log::info("update available: {} -> {}", this->m_MOVersion.displayString(3), newestVer.displayString(3)); emit updateAvailable(); -- cgit v1.3.1 From 960afe9ea56fe43fd5258043f64a19eb867b022b Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Fri, 17 Apr 2020 09:43:58 -0400 Subject: log command line --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 2bb3f964..eda31eb4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -960,6 +960,8 @@ int main(int argc, char *argv[]) log::getDefault().setFile(MOBase::log::File::single(logFile.toStdWString())); + log::debug("command line: '{}'", QString::fromWCharArray(GetCommandLineW())); + QString splash = dataPath + "/splash.png"; if (!QFile::exists(dataPath + "/splash.png")) { splash = ":/MO/gui/splash"; -- cgit v1.3.1