# HG changeset patch # User Chris Cannam # Date 1161189510 0 # Node ID f7f676a533e59b162b3cea61cacfafa7c9b989ea # Parent dc7a73ef69af244f71a95f66022f6a48033f2956 * A start to a panner widget to go with thumbwheels diff -r dc7a73ef69af -r f7f676a533e5 main/main.cpp --- 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;