diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-04-17 09:43:58 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-04-17 09:43:58 -0400 |
| commit | 960afe9ea56fe43fd5258043f64a19eb867b022b (patch) | |
| tree | d361fa684dbcc0866e1295fcf38201efc3b29f0b /src | |
| parent | e11ca50a57f1890eab160694ae9ee64f2f7096c8 (diff) | |
log command line
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 2 |
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"; |
