diff main/main.cpp @ 85:4eae5b521a34

* Framework for retrieving files from remote locations
author Chris Cannam
date Mon, 08 Jan 2007 17:04:35 +0000
parents 0d2fb43b5ee5
children a4e79db79282
line wrap: on
line diff
--- a/main/main.cpp	Fri Jan 05 15:49:10 2007 +0000
+++ b/main/main.cpp	Mon Jan 08 17:04:35 2007 +0000
@@ -155,6 +155,11 @@
         if (i == args.begin()) continue;
         if (i->startsWith('-')) continue;
 
+        if (i->startsWith("http:") || i->startsWith("ftp:")) {
+            status = gui.openURL(QUrl(*i));
+            continue;
+        }
+
         QString path = *i;
 
         if (path.endsWith("sv")) {