1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 21:01:45 -05:00

HackRF output plugin: correct play/stop button colors

This commit is contained in:
f4exb 2017-01-09 00:28:14 +01:00
parent 61e45297df
commit 47f7dc7962

View File

@ -330,10 +330,10 @@ void HackRFOutputGui::updateStatus()
ui->startStop->setStyleSheet("QToolButton { background-color : blue; }"); ui->startStop->setStyleSheet("QToolButton { background-color : blue; }");
break; break;
case DSPDeviceSinkEngine::StRunning: case DSPDeviceSinkEngine::StRunning:
ui->startStop->setStyleSheet("QToolButton { background-color : green; }"); ui->startStop->setStyleSheet("QToolButton { background-color : red; }");
break; break;
case DSPDeviceSinkEngine::StError: case DSPDeviceSinkEngine::StError:
ui->startStop->setStyleSheet("QToolButton { background-color : red; }"); ui->startStop->setStyleSheet("QToolButton { background-color : magenta; }");
QMessageBox::information(this, tr("Message"), m_deviceAPI->errorMessage()); QMessageBox::information(this, tr("Message"), m_deviceAPI->errorMessage());
break; break;
default: default: