Mercurial > hg > svapp
changeset 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 | 2485f822dc54 |
children | 907e44e4ecf0 |
files | framework/MainWindowBase.cpp framework/MainWindowBase.h |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Sat Mar 01 16:17:44 2008 +0000 +++ b/framework/MainWindowBase.cpp Tue Mar 11 09:23:48 2008 +0000 @@ -1296,6 +1296,7 @@ m_playTarget = AudioTargetFactory::createCallbackTarget(m_playSource); if (!m_playTarget) { + emit hideSplash(); QMessageBox::warning (this, tr("Couldn't open audio device"), 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."),
--- a/framework/MainWindowBase.h Sat Mar 01 16:17:44 2008 +0000 +++ b/framework/MainWindowBase.h Tue Mar 11 09:23:48 2008 +0000 @@ -137,6 +137,7 @@ void canSelectPreviousLayer(bool); void canSelectNextLayer(bool); void canSave(bool); + void hideSplash(); public slots: virtual void preferenceChanged(PropertyContainer::PropertyName);