summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-02-19 10:07:29 +0000
committerThorsten Behrens <tbehrens@suse.com>2013-02-19 13:00:38 +0100
commit156be5f435bcaddfeaffa1055c9be9be8aa3b27a (patch)
treeca5d934618eb5fe85edbd3126b6065b5568f04e5 /sd
parent4a7f9c7da446aeb6a5a9010ed7f44ffc40fc67ca (diff)
sdremote: fix linux conditional.
Change-Id: I911863f07b08e771d78a4a98d9a4f82c93a7d55e (cherry picked from commit da8cf16796b916552e4aa0ab294359f91a9b8c0e) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 69cc5934a54b..8706e677f05d 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -633,11 +633,11 @@ void BluetoothServer::restoreDiscoverable()
void BluetoothServer::doEnsureDiscoverable()
{
+#ifdef LINUX_BLUETOOTH
if (!spServer->mpImpl->mpConnection ||
spServer->meWasDiscoverable != UNKNOWN )
return;
-#ifdef LINUX_BLUETOOTH
// Find out if we are discoverable already ...
DBusObject *pAdapter = spServer->mpImpl->getAdapter();
if( !pAdapter )