comparison main/main.cpp @ 2550:a004f981f6f5 startup-timing

Some work to try to get the main window up & functioning quicker - without waiting for the transforms to be populated first. Needs a lot more testing, not to be merged until after 4.1.
author Chris Cannam
date Wed, 03 Jun 2020 14:12:14 +0100
parents e499ec4a32c9
children
comparison
equal deleted inserted replaced
2549:8ac67c315afa 2550:a004f981f6f5
434 #if (QT_VERSION >= 0x050400) 434 #if (QT_VERSION >= 0x050400)
435 SVDEBUG << "Note: SSL library build version is: " 435 SVDEBUG << "Note: SSL library build version is: "
436 << QSslSocket::sslLibraryBuildVersionString() 436 << QSslSocket::sslLibraryBuildVersionString()
437 << endl; 437 << endl;
438 #endif 438 #endif
439
440 // Make known-plugins query as early as possible after showing
441 // splash screen.
442 PluginScan::getInstance()->scan();
443 439
444 if (showSplash) { 440 if (showSplash) {
445 application.processEvents(); 441 application.processEvents();
446 } 442 }
447 443
544 if (scriptFile != "") { 540 if (scriptFile != "") {
545 SVDEBUG << "Note: Cueing OSC script from filename \"" << scriptFile 541 SVDEBUG << "Note: Cueing OSC script from filename \"" << scriptFile
546 << "\"" << endl; 542 << "\"" << endl;
547 gui->cueOSCScript(scriptFile); 543 gui->cueOSCScript(scriptFile);
548 } 544 }
545
546 SVDEBUG << "Entering main event loop" << endl;
549 547
550 int rv = application.exec(); 548 int rv = application.exec();
551 549
552 gui->hide(); 550 gui->hide();
553 551