summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/btdiscovery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index 63a1df5fd..394a90757 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -52,7 +52,8 @@ static dc_descriptor_t *getDeviceType(QString btName)
return(NULL);
}
-BTDiscovery::BTDiscovery(QObject *parent)
+BTDiscovery::BTDiscovery(QObject *parent) : m_btValid(false),
+ discoveryAgent(NULL)
{
Q_UNUSED(parent)
if (m_instance) {