src/main.cc

changeset 864
34033bc2ffb6
parent 861
83426c5fa732
child 882
2f3cc8e045d5
--- a/src/main.cc	Sun Aug 24 01:42:46 2014 +0300
+++ b/src/main.cc	Sat Aug 30 14:54:10 2014 +0300
@@ -80,6 +80,10 @@
 		Config::Save();
 	}
 
+	// Process the command line
+	for (int arg = 1; arg < argc; ++arg)
+		OpenMainModel (QString::fromLocal8Bit (argv[arg]));
+
 	int result = app.exec();
 	g_IsExiting = true;
 	return result;

mercurial