summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-04-17 09:43:58 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2020-04-17 09:43:58 -0400
commit960afe9ea56fe43fd5258043f64a19eb867b022b (patch)
treed361fa684dbcc0866e1295fcf38201efc3b29f0b /src/main.cpp
parente11ca50a57f1890eab160694ae9ee64f2f7096c8 (diff)
log command line
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
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";