Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 166:4d762fe10919
* Add SingleColourLayer to manage colours for layers that have a single
predominant colour (i.e. most of them).
author | Chris Cannam |
---|---|
date | Thu, 12 Jul 2007 16:14:59 +0000 |
parents | 33280c031d19 |
children | 98ba77e0d897 |
comparison
equal
deleted
inserted
replaced
165:33280c031d19 | 166:4d762fe10919 |
---|---|
297 | 297 |
298 if (i == args.begin()) continue; | 298 if (i == args.begin()) continue; |
299 if (i->startsWith('-')) continue; | 299 if (i->startsWith('-')) continue; |
300 | 300 |
301 if (i->startsWith("http:") || i->startsWith("ftp:")) { | 301 if (i->startsWith("http:") || i->startsWith("ftp:")) { |
302 std::cerr << "opening URL: \"" << i->toStdString() << "\"..." << std::endl; | |
302 status = gui.openURL(QUrl(*i)); | 303 status = gui.openURL(QUrl(*i)); |
303 continue; | 304 continue; |
304 } | 305 } |
305 | 306 |
306 QString path = *i; | 307 QString path = *i; |