Mercurial > hg > svapp
changeset 594:72b4870f0e6b
Debug output
author | Chris Cannam |
---|---|
date | Tue, 07 Mar 2017 11:48:29 +0000 |
parents | 821aba42c1bb |
children | b23bebfdfaba |
files | framework/MainWindowBase.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Mon Mar 06 17:37:23 2017 +0000 +++ b/framework/MainWindowBase.cpp Tue Mar 07 11:48:29 2017 +0000 @@ -1405,6 +1405,7 @@ } catch (const InsufficientDiscSpace &e) { emit hideSplash(); m_openingAudioFile = false; + SVCERR << "MainWindowBase: Caught InsufficientDiscSpace in file open" << endl; QMessageBox::critical (this, tr("Not enough disc space"), tr("<b>Not enough disc space</b><p>There doesn't appear to be enough spare disc space to accommodate any necessary temporary files.</p><p>Please clear some space and try again.</p>").arg(e.what())); @@ -1412,6 +1413,7 @@ } catch (const std::bad_alloc &e) { // reader may have rethrown this after cleaning up emit hideSplash(); m_openingAudioFile = false; + SVCERR << "MainWindowBase: Caught bad_alloc in file open" << endl; QMessageBox::critical (this, tr("Not enough memory"), tr("<b>Not enough memory</b><p>There doesn't appear to be enough memory to accommodate any necessary temporary data.</p>"));