Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 1274:aa53e986585e piper
Default to using Piper
author | Chris Cannam |
---|---|
date | Fri, 21 Oct 2016 11:59:14 +0100 |
parents | 2e83525cf638 |
children | 0c6cdcf53641 |
comparison
equal
deleted
inserted
replaced
1273:7298d7ae15f7 | 1274:aa53e986585e |
---|---|
273 QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); | 273 QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); |
274 | 274 |
275 SVSplash *splash = 0; | 275 SVSplash *splash = 0; |
276 | 276 |
277 QSettings settings; | 277 QSettings settings; |
278 | |
279 settings.beginGroup("Preferences"); | |
280 // Default to using Piper server; can change in preferences | |
281 if (!settings.contains("run-vamp-plugins-in-process")) { | |
282 settings.setValue("run-vamp-plugins-in-process", false); | |
283 } | |
284 settings.endGroup(); | |
278 | 285 |
279 settings.beginGroup("Preferences"); | 286 settings.beginGroup("Preferences"); |
280 if (settings.value("show-splash", true).toBool()) { | 287 if (settings.value("show-splash", true).toBool()) { |
281 splash = new SVSplash(); | 288 splash = new SVSplash(); |
282 splash->show(); | 289 splash->show(); |