protect against crash when audio driver is null

This commit is contained in:
lasconic 2013-07-18 09:37:49 +02:00
parent fed5335fd5
commit d4fe28b782

View file

@ -226,7 +226,7 @@ void Seq::selectionChanged(int mode)
bool Seq::init()
{
if (!_driver->start()) {
if (!_driver || !_driver->start()) {
qDebug("Cannot start I/O");
return false;
}