summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-07 14:37:59 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-07 15:23:53 -0800
commit58ea21588152a34cace3fc70838e0d9d46cf599d (patch)
tree1e636bc69f616fb9a7f90000724e6497d237d3b6 /desktop-widgets
parent41c0fb4039a48ceab76261fc675d767fb30c949f (diff)
downloadsubsurface-58ea21588152a34cace3fc70838e0d9d46cf599d.tar.gz
desktop: minor tweak for dark modes
This ensures that the BT/BLE devices are legible, regardless of light or dark mode. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-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 2df93d072..4eef0dfe9 100644
--- a/desktop-widgets/btdeviceselectiondialog.cpp
+++ b/desktop-widgets/btdeviceselectiondialog.cpp
@@ -179,7 +179,7 @@ void BtDeviceSelectionDialog::addRemoteDevice(const QBluetoothDeviceInfo &remote
// On Windows we cannot obtain the pairing status so we set only the name and the address of the device
QString deviceLabel = QString("%1 (%2)").arg(remoteDeviceInfo.name(),
remoteDeviceInfo.address().toString());
- QColor pairingColor = QColor(Qt::white);
+ QColor pairingColor = QColor(Qt::gray);
#else
// By default we use the status label and the color for the UNPAIRED state
QColor pairingColor = QColor("#F1A9A0");
@@ -202,7 +202,7 @@ void BtDeviceSelectionDialog::addRemoteDevice(const QBluetoothDeviceInfo &remote
if (!remoteDeviceInfo.deviceUuid().isNull()) {
// we have only a Uuid, no address, so show that and reset the pairing color
deviceLabel = QString("%1 (%2)").arg(remoteDeviceInfo.name(),remoteDeviceInfo.deviceUuid().toString());
- pairingColor = QColor(Qt::white);
+ pairingColor = QColor(Qt::gray);
} else
#endif
deviceLabel = tr("%1 (%2) [State: %3]").arg(remoteDeviceInfo.name(),