mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
f4f42a0b97
commit
a4d4d1c83b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue