Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 296:5c5a1ce79ad5
* The main fix here is to the arguments of SVApplication -- the first
one should be int& rather than int (was causing a crash! gah!)
Various other tiny fixes
author | Chris Cannam |
---|---|
date | Fri, 09 Jan 2009 14:55:12 +0000 |
parents | d27c322b5d6e |
children | ec08830e362e |
comparison
equal
deleted
inserted
replaced
295:75c32cc2814a | 296:5c5a1ce79ad5 |
---|---|
180 } | 180 } |
181 | 181 |
182 class SVApplication : public QApplication | 182 class SVApplication : public QApplication |
183 { | 183 { |
184 public: | 184 public: |
185 SVApplication(int argc, char **argv) : | 185 SVApplication(int &argc, char **argv) : |
186 QApplication(argc, argv), | 186 QApplication(argc, argv), |
187 m_mainWindow(0) { } | 187 m_mainWindow(0) { } |
188 virtual ~SVApplication() { } | 188 virtual ~SVApplication() { } |
189 | 189 |
190 void setMainWindow(MainWindow *mw) { m_mainWindow = mw; } | 190 void setMainWindow(MainWindow *mw) { m_mainWindow = mw; } |