goat3d

diff goatview/src/main.cc @ 94:21319e71117f

[libs] fixed a few warnings in openctm [goatview] starting animation loading
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 18 May 2014 19:58:47 +0300
parents 70b7c41a4f17
children
line diff
     1.1 --- a/goatview/src/main.cc	Sun May 18 06:20:20 2014 +0300
     1.2 +++ b/goatview/src/main.cc	Sun May 18 19:58:47 2014 +0300
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5  	argparse.addPositionalArgument("scene", "scene file to open");
     1.6  	argparse.addOption(QCommandLineOption("a", "add animation file"));
     1.7 -	argparse.process(app);
     1.8 +	argparse.parse(app.arguments());
     1.9  
    1.10  	const QStringList &args = argparse.positionalArguments();
    1.11  	if(!args.isEmpty()) {