From 47f7dc7962d1aa01c1fc419a3f429dfadfd475cb Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 9 Jan 2017 00:28:14 +0100 Subject: [PATCH] HackRF output plugin: correct play/stop button colors --- plugins/samplesink/hackrfoutput/hackrfoutputgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/samplesink/hackrfoutput/hackrfoutputgui.cpp b/plugins/samplesink/hackrfoutput/hackrfoutputgui.cpp index 1420b60a5..9a4ba11cd 100644 --- a/plugins/samplesink/hackrfoutput/hackrfoutputgui.cpp +++ b/plugins/samplesink/hackrfoutput/hackrfoutputgui.cpp @@ -330,10 +330,10 @@ void HackRFOutputGui::updateStatus() ui->startStop->setStyleSheet("QToolButton { background-color : blue; }"); break; case DSPDeviceSinkEngine::StRunning: - ui->startStop->setStyleSheet("QToolButton { background-color : green; }"); + ui->startStop->setStyleSheet("QToolButton { background-color : red; }"); break; 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()); break; default: