Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 200:1871581e4da9
* Split MainWindow out into MainWindowBase (pane stack management, basic file
I/O etc) and MainWindow (widget structure, menus and actions etc)
author | Chris Cannam |
---|---|
date | Mon, 22 Oct 2007 14:24:31 +0000 |
parents | c08c312b2399 |
children | 9e396b8d7dfc |
comparison
equal
deleted
inserted
replaced
199:6e1d4d500092 | 200:1871581e4da9 |
---|---|
302 | 302 |
303 QString path = *i; | 303 QString path = *i; |
304 | 304 |
305 if (path.endsWith("sv")) { | 305 if (path.endsWith("sv")) { |
306 if (!haveSession) { | 306 if (!haveSession) { |
307 status = gui.openSession(path); | 307 status = gui.openSessionFile(path); |
308 if (status == MainWindow::FileOpenSucceeded) { | 308 if (status == MainWindow::FileOpenSucceeded) { |
309 haveSession = true; | 309 haveSession = true; |
310 haveMainModel = true; | 310 haveMainModel = true; |
311 } | 311 } |
312 } else { | 312 } else { |