summaryrefslogtreecommitdiff
path: root/sowatchd
diff options
context:
space:
mode:
Diffstat (limited to 'sowatchd')
-rw-r--r--sowatchd/sowatchd.pro3
-rw-r--r--sowatchd/watchhandler.cpp4
2 files changed, 6 insertions, 1 deletions
diff --git a/sowatchd/sowatchd.pro b/sowatchd/sowatchd.pro
index 17176fb..3ffa490 100644
--- a/sowatchd/sowatchd.pro
+++ b/sowatchd/sowatchd.pro
@@ -11,6 +11,9 @@ HEADERS += daemon.h daemonadaptor.h watchhandler.h
LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
INCLUDEPATH += $$PWD/../libsowatch
DEPENDPATH += $$PWD/../libsowatch
+LIBS += -L$$OUT_PWD/../libsowatchbt/ -lsowatchbt
+INCLUDEPATH += $$PWD/../libsowatchbt
+DEPENDPATH += $$PWD/../libsowatchbt
# Library & target paths
!isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
diff --git a/sowatchd/watchhandler.cpp b/sowatchd/watchhandler.cpp
index a2ea76a..cdd520d 100644
--- a/sowatchd/watchhandler.cpp
+++ b/sowatchd/watchhandler.cpp
@@ -4,7 +4,9 @@ using namespace sowatch;
WatchHandler::WatchHandler(ConfigKey *config, QObject *parent)
: QObject(parent),
- _config(config->getSubkey("", this))
+ _config(config->getSubkey("", this)),
+ _watch(0),
+ _server(0)
{
Registry *registry = Registry::registry();