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') 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