summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-02-19 10:07:29 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-02-19 10:07:43 +0000
commit0c3d3d58c9a88a682dcb673f8727390a602fec55 (patch)
tree7443075d4c558a2dd99534c8f09de8b28a035986 /sd
parentsimplify external module check with macro (diff)
downloadcore-0c3d3d58c9a88a682dcb673f8727390a602fec55.tar.gz
core-0c3d3d58c9a88a682dcb673f8727390a602fec55.zip
sdremote: fix linux conditional.
Change-Id: I911863f07b08e771d78a4a98d9a4f82c93a7d55e
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 5692406b1a67..94276b5dc729 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -625,11 +625,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 )