1 |
// main.cpp |
// main.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2008, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2009, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, 2008 Christian Schoenebeck |
Copyright (C) 2007, 2008 Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
262 |
|
|
263 |
// Construct default settings; override with command line arguments. |
// Construct default settings; override with command line arguments. |
264 |
QSampler::Options options; |
QSampler::Options options; |
265 |
if (!options.parse_args(app.argc(), app.argv())) { |
if (!options.parse_args(app.arguments())) { |
266 |
app.quit(); |
app.quit(); |
267 |
return 1; |
return 1; |
268 |
} |
} |