aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/metrics.cpp
diff options
context:
space:
mode:
authorGravatar Claudiu Olteanu <olteanu.claudiu@ymail.com>2015-08-18 20:17:11 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-20 22:45:13 -0700
commit69c81ed8e4758b41c54faf7e48e48290e2a56581 (patch)
tree9e0435de389e81911c3994bb4b82bd56bc14ebf9 /qt-ui/metrics.cpp
parenta83f59ff0952dd78aee4ddf4207046255889510c (diff)
downloadsubsurface-69c81ed8e4758b41c54faf7e48e48290e2a56581.tar.gz
Reimplement pairingFinished method
The old implementation didn't use the correct deviceLabel pattern. When the pairing status of a device was changed the name of the device was missing from the new label. With the new implementation when the pairing status is changed we replace the old state with the new one and maintain the device information from the old label. Also we set the same pairing background colors used in the addRemoteDevice callback. In this way the label's state is consistent and the UX is improved. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/metrics.cpp')
0 files changed, 0 insertions, 0 deletions