diff -r d9add21ee9d3 -r 3f90aab4794d options.cpp --- a/options.cpp Wed Apr 25 16:02:54 2007 +0000 +++ b/options.cpp Mon Jul 14 11:25:09 2008 +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;