From 5d6c4b47eb422e9bda20e81169337652c61e5927 Mon Sep 17 00:00:00 2001 From: shun-iwasawa Date: Jul 12 2018 03:32:43 +0000 Subject: fix crash with command line arguments (#2155) --- diff --git a/toonz/sources/toonz/main.cpp b/toonz/sources/toonz/main.cpp index 6b87580..1c0bf6a 100644 --- a/toonz/sources/toonz/main.cpp +++ b/toonz/sources/toonz/main.cpp @@ -310,6 +310,8 @@ int main(int argc, char *argv[]) { argumentPathValues.insert(q_itr->first, q_itr->second->getValue().getQString()); } + + argc = 1; } // Enables high-DPI scaling. This attribute must be set before QApplication is