diff -r d9add21ee9d3 -r ffb95cd03156 options.cpp --- a/options.cpp Wed Apr 25 16:02:54 2007 +0000 +++ b/options.cpp Thu Apr 30 11:52:49 2009 +0000 @@ -47,13 +47,7 @@ int Options::parse() { - QStringList arglist; - int i=0; - while ( i < qApp->argc()) - { - arglist.append (qApp->argv()[i]); - i++; - } + QStringList arglist=qApp->arguments(); // Get program name progname=arglist.first(); @@ -61,6 +55,7 @@ // Work through rest of options bool isFile; + int i=0; for (i=0; i< arglist.size(); ++i) { isFile=true;