diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-09-24 10:36:48 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-25 10:37:05 +0200 |
commit | 97ad2ffecf6f5c18b71c52c5a7f4a5f8b679c0a6 (patch) | |
tree | ec735cab9143a7266b31261dce47f7eeb826a556 /src/bluetooth/qbluetoothserver_bluez.cpp | |
parent | e269d5d894e60dfa5e954eb75ae19754d08f3353 (diff) |
Fixing small QBluetoothServer issues
-extending documentation
-emit error signal when setting a new error
Task-number: QTBUG-32669
Change-Id: I16b8a149792ed5068a7bd76af874477084802aea
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothserver_bluez.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothserver_bluez.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothserver_bluez.cpp b/src/bluetooth/qbluetoothserver_bluez.cpp index 83d0b073..e8457183 100644 --- a/src/bluetooth/qbluetoothserver_bluez.cpp +++ b/src/bluetooth/qbluetoothserver_bluez.cpp @@ -107,6 +107,7 @@ bool QBluetoothServer::listen(const QBluetoothAddress &address, quint16 port) int sock = d->socket->socketDescriptor(); if (sock < 0) { d->m_lastError = InputOutputError; + emit error(d->m_lastError); return false; } |