comparison main/main.cpp @ 278:eed95bb2f597

* Some work on querying and cacheing plugin RDF from a central index
author Chris Cannam
date Fri, 17 Oct 2008 15:26:29 +0000
parents a0d3b334e7a9
children 64a8ee011004
comparison
equal deleted inserted replaced
277:7dfaaead2ba4 278:eed95bb2f597
243 settings.beginGroup("Preferences"); 243 settings.beginGroup("Preferences");
244 if (settings.value("show-splash", true).toBool()) { 244 if (settings.value("show-splash", true).toBool()) {
245 splash.show(); 245 splash.show();
246 QTimer::singleShot(5000, &splash, SLOT(hide())); 246 QTimer::singleShot(5000, &splash, SLOT(hide()));
247 application.processEvents(); 247 application.processEvents();
248 }
249 settings.endGroup();
250
251 settings.beginGroup("RDF");
252 if (!settings.contains("rdf-indices")) {
253 QStringList list;
254 list << "http://www.vamp-plugins.org/rdf/plugins/index.txt";
255 settings.setValue("rdf-indices", list);
248 } 256 }
249 settings.endGroup(); 257 settings.endGroup();
250 258
251 QIcon icon; 259 QIcon icon;
252 int sizes[] = { 16, 22, 24, 32, 48, 64, 128 }; 260 int sizes[] = { 16, 22, 24, 32, 48, 64, 128 };