Mercurial > hg > tony
comparison src/Analyser.h @ 226:9bdff8d10a86
Fix #899 crash when loading new file
author | Chris Cannam |
---|---|
date | Mon, 10 Mar 2014 14:59:50 +0000 |
parents | 0ba33d6c0a71 |
children | ae0bf8dc5833 |
comparison
equal
deleted
inserted
replaced
225:dd97a58277ea | 226:9bdff8d10a86 |
---|---|
43 virtual ~Analyser(); | 43 virtual ~Analyser(); |
44 | 44 |
45 // Process new main model, add derived layers; return "" on success or error string on failure | 45 // Process new main model, add derived layers; return "" on success or error string on failure |
46 QString newFileLoaded(Document *newDocument, WaveFileModel *model, | 46 QString newFileLoaded(Document *newDocument, WaveFileModel *model, |
47 PaneStack *paneStack, Pane *pane); | 47 PaneStack *paneStack, Pane *pane); |
48 | |
49 // Discard any layers etc associated with the current document | |
50 void fileClosed(); | |
48 | 51 |
49 void setIntelligentActions(bool); | 52 void setIntelligentActions(bool); |
50 | 53 |
51 enum Component { | 54 enum Component { |
52 Audio, | 55 Audio, |