Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 376:210a409e135a
* Minor fixes from Win32 build
author | Chris Cannam |
---|---|
date | Mon, 18 Oct 2010 12:45:14 +0100 |
parents | 3bb7eef5d45c |
children | 3d1c69b2215e |
comparison
equal
deleted
inserted
replaced
361:101f05420cba | 376:210a409e135a |
---|---|
207 }; | 207 }; |
208 | 208 |
209 int | 209 int |
210 main(int argc, char **argv) | 210 main(int argc, char **argv) |
211 { | 211 { |
212 svSystemSpecificInitialisation(); | |
213 | |
212 #ifdef Q_WS_X11 | 214 #ifdef Q_WS_X11 |
213 #if QT_VERSION >= 0x040500 | 215 #if QT_VERSION >= 0x040500 |
214 // QApplication::setGraphicsSystem("raster"); | 216 // QApplication::setGraphicsSystem("raster"); |
215 #endif | 217 #endif |
216 #endif | 218 #endif |
224 | 226 |
225 #ifndef Q_WS_WIN32 | 227 #ifndef Q_WS_WIN32 |
226 signal(SIGHUP, signalHandler); | 228 signal(SIGHUP, signalHandler); |
227 signal(SIGQUIT, signalHandler); | 229 signal(SIGQUIT, signalHandler); |
228 #endif | 230 #endif |
229 | |
230 svSystemSpecificInitialisation(); | |
231 | 231 |
232 bool audioOutput = true; | 232 bool audioOutput = true; |
233 bool oscSupport = true; | 233 bool oscSupport = true; |
234 | 234 |
235 if (args.contains("--help") || args.contains("-h") || args.contains("-?")) { | 235 if (args.contains("--help") || args.contains("-h") || args.contains("-?")) { |