diff options
author | Claudiu Olteanu <olteanu.claudiu@ymail.com> | 2015-07-17 01:21:49 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-19 05:50:33 -0700 |
commit | 8f8002b8d13f6332b8f4cf71c74d745cb1a35fe3 (patch) | |
tree | f2e4e3f809b256239135b904f7c1c899784471c3 /qt-ui/btdeviceselectiondialog.h | |
parent | 619e97ee4fcd008c8e2f73d1d7653e932971c453 (diff) | |
download | subsurface-8f8002b8d13f6332b8f4cf71c74d745cb1a35fe3.tar.gz |
Use itemClicked signal instead of itemActivated for BT device selection
On Android platforms the system is configured to raise the
itemActivated signal when the user double clicks an item.
Since the items are small it is pretty hard to double click
them. Therefore use the itemClicked signal instead of the
itemActivated signal.
Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/btdeviceselectiondialog.h')
-rw-r--r-- | qt-ui/btdeviceselectiondialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/btdeviceselectiondialog.h b/qt-ui/btdeviceselectiondialog.h index 0a486635f..e6086cb82 100644 --- a/qt-ui/btdeviceselectiondialog.h +++ b/qt-ui/btdeviceselectiondialog.h @@ -33,7 +33,7 @@ private slots: void remoteDeviceScanFinished(); void hostModeStateChanged(QBluetoothLocalDevice::HostMode mode); void addRemoteDevice(const QBluetoothDeviceInfo &remoteDeviceInfo); - void itemActivated(QListWidgetItem *item); + void itemClicked(QListWidgetItem *item); void displayPairingMenu(const QPoint &pos); void pairingFinished(const QBluetoothAddress &address,QBluetoothLocalDevice::Pairing pairing); void error(QBluetoothLocalDevice::Error error); |