summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/btdeviceselectiondialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-29 15:19:33 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-29 15:19:33 -0700
commita4d4d1c83b3eef902f7c4443a3e2894b45a0f7b7 (patch)
tree29c45b105cf5eaad2eca0ca549e28fc4912dedb1 /desktop-widgets/btdeviceselectiondialog.cpp
parentf4f42a0b97182681d92c991482fa2064251f7ac7 (diff)
downloadsubsurface-a4d4d1c83b3eef902f7c4443a3e2894b45a0f7b7.tar.gz
Better colors for BT pairing dialog
Linus had complained about these colors for a while. I think this is a massive improvement. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/btdeviceselectiondialog.cpp')
-rw-r--r--desktop-widgets/btdeviceselectiondialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/btdeviceselectiondialog.cpp b/desktop-widgets/btdeviceselectiondialog.cpp
index 94e07c969..6502978c4 100644
--- a/desktop-widgets/btdeviceselectiondialog.cpp
+++ b/desktop-widgets/btdeviceselectiondialog.cpp
@@ -222,7 +222,7 @@ void BtDeviceSelectionDialog::addRemoteDevice(const QBluetoothDeviceInfo &remote
QColor pairingColor = QColor(Qt::white);
#else
// By default we use the status label and the color for the UNPAIRED state
- QColor pairingColor = QColor(Qt::red);
+ QColor pairingColor = QColor("#F1A9A0");
QString pairingStatusLabel = tr("UNPAIRED");
QBluetoothLocalDevice::Pairing pairingStatus = localDevice->pairingStatus(remoteDeviceInfo.address());
@@ -231,7 +231,7 @@ void BtDeviceSelectionDialog::addRemoteDevice(const QBluetoothDeviceInfo &remote
pairingColor = QColor(Qt::gray);
} else if (pairingStatus == QBluetoothLocalDevice::AuthorizedPaired) {
pairingStatusLabel = tr("AUTHORIZED_PAIRED");
- pairingColor = QColor(Qt::blue);
+ pairingColor = QColor("#89C4F4");
}
if (remoteDeviceInfo.address().isNull())
pairingColor = QColor(Qt::gray);