1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

Standardize all output sinks to the same ready/running/error color status

This commit is contained in:
f4exb
2017-06-05 23:00:28 +02:00
parent 34b1910cd0
commit 5e62da4437
6 changed files with 113 additions and 18 deletions
@@ -305,10 +305,10 @@ void HackRFOutputGui::updateStatus()
ui->startStop->setStyleSheet("QToolButton { background-color : blue; }");
break;
case DSPDeviceSinkEngine::StRunning:
ui->startStop->setStyleSheet("QToolButton { background-color : red; }");
ui->startStop->setStyleSheet("QToolButton { background-color : green; }");
break;
case DSPDeviceSinkEngine::StError:
ui->startStop->setStyleSheet("QToolButton { background-color : magenta; }");
ui->startStop->setStyleSheet("QToolButton { background-color : red; }");
QMessageBox::information(this, tr("Message"), m_deviceAPI->errorMessage());
break;
default: