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>
This commit is contained in:
Dirk Hohndel 2017-06-29 15:19:33 -07:00
parent f4f42a0b97
commit a4d4d1c83b

View file

@ -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);