Mercurial > hg > sonic-visualiser
changeset 64:f7f676a533e5
* A start to a panner widget to go with thumbwheels
author | Chris Cannam |
---|---|
date | Wed, 18 Oct 2006 16:38:30 +0000 |
parents | dc7a73ef69af |
children | 77c083741589 |
files | main/main.cpp |
diffstat | 1 files changed, 1 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/main/main.cpp Tue Oct 17 19:27:23 2006 +0000 +++ b/main/main.cpp Wed Oct 18 16:38:30 2006 +0000 @@ -138,15 +138,7 @@ settings.endGroup(); gui.show(); -/* - QStringList pathList; - for (QStringList::iterator i = args.begin(); i != args.end(); ++i) { - if (i == args.begin()) continue; - if (!i->startsWith('-')) { - pathList.push_back(*i); - } - } -*/ + bool haveSession = false; bool haveMainModel = false; @@ -185,22 +177,6 @@ QMessageBox::tr("File \"%1\" could not be opened").arg(path)); } } - /* - - if (!pathList.isEmpty()) { - bool success = false; - if (path.endsWith(".sv")) { - success = gui.openSessionFile(path); - } - if (!success) { - success = gui.openSomeFile(path); - } - if (!success) { - QMessageBox::critical(&gui, QMessageBox::tr("Failed to open file"), - QMessageBox::tr("File \"%1\" could not be opened").arg(path)); - } - } - */ int rv = application.exec(); std::cerr << "application.exec() returned " << rv << std::endl;