# HG changeset patch # User Chris Cannam # Date 1231512912 0 # Node ID 5c5a1ce79ad56deb28ec44c2ba5f3d29213c79c2 # Parent 75c32cc2814a2f2f9543e8b8877dd411e07aaaa5 * 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 diff -r 75c32cc2814a -r 5c5a1ce79ad5 main/main.cpp --- a/main/main.cpp Fri Dec 12 15:20:09 2008 +0000 +++ b/main/main.cpp Fri Jan 09 14:55:12 2009 +0000 @@ -182,7 +182,7 @@ class SVApplication : public QApplication { public: - SVApplication(int argc, char **argv) : + SVApplication(int &argc, char **argv) : QApplication(argc, argv), m_mainWindow(0) { } virtual ~SVApplication() { } diff -r 75c32cc2814a -r 5c5a1ce79ad5 sv.pro --- a/sv.pro Fri Dec 12 15:20:09 2008 +0000 +++ b/sv.pro Fri Jan 09 14:55:12 2009 +0000 @@ -9,7 +9,7 @@ QT += xml network TARGET = "Sonic Visualiser" -linux-g++:TARGET = sonic-visualiser +linux-g++*:TARGET = sonic-visualiser ICON = icons/sv-macicon.icns RC_FILE = icons/sv.rc