Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 83:0d2fb43b5ee5
* Fix failure to reload play mute state correctly from session file
* Ensure Show and Play buttons in layer property box are initialised with the
correct state
| author | Chris Cannam |
|---|---|
| date | Fri, 05 Jan 2007 14:46:45 +0000 |
| parents | d82e332cb178 |
| children | 4eae5b521a34 |
comparison
equal
deleted
inserted
replaced
| 82:d82e332cb178 | 83:0d2fb43b5ee5 |
|---|---|
| 148 bool haveSession = false; | 148 bool haveSession = false; |
| 149 bool haveMainModel = false; | 149 bool haveMainModel = false; |
| 150 | 150 |
| 151 for (QStringList::iterator i = args.begin(); i != args.end(); ++i) { | 151 for (QStringList::iterator i = args.begin(); i != args.end(); ++i) { |
| 152 | 152 |
| 153 MainWindow::FileOpenStatus status = MainWindow::FileOpenSucceeded; | 153 MainWindow::FileOpenStatus status = MainWindow::FileOpenFailed; |
| 154 | 154 |
| 155 if (i == args.begin()) continue; | 155 if (i == args.begin()) continue; |
| 156 if (i->startsWith('-')) continue; | 156 if (i->startsWith('-')) continue; |
| 157 | 157 |
| 158 QString path = *i; | 158 QString path = *i; |
