comparison framework/MainWindowBase.cpp @ 104:e154e24b7ec3

* (failed) attempt to hide splash screen when error occurs on startup
author Chris Cannam
date Tue, 11 Mar 2008 09:23:48 +0000
parents b218f441302f
children 907e44e4ecf0
comparison
equal deleted inserted replaced
103:2485f822dc54 104:e154e24b7ec3
1294 { 1294 {
1295 if (m_playTarget) return; 1295 if (m_playTarget) return;
1296 1296
1297 m_playTarget = AudioTargetFactory::createCallbackTarget(m_playSource); 1297 m_playTarget = AudioTargetFactory::createCallbackTarget(m_playSource);
1298 if (!m_playTarget) { 1298 if (!m_playTarget) {
1299 emit hideSplash();
1299 QMessageBox::warning 1300 QMessageBox::warning
1300 (this, tr("Couldn't open audio device"), 1301 (this, tr("Couldn't open audio device"),
1301 tr("<b>No audio available</b><p>Could not open an audio device for playback.<p>Audio playback will not be available during this session."), 1302 tr("<b>No audio available</b><p>Could not open an audio device for playback.<p>Audio playback will not be available during this session."),
1302 QMessageBox::Ok); 1303 QMessageBox::Ok);
1303 } 1304 }