diff main/main.cpp @ 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 ec77936c268e
children e269ae6ed008
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;