summaryrefslogtreecommitdiff
path: root/libresourceqt/src/resource-engine.cpp
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-04-07 14:42:07 +0300
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-04-07 14:42:07 +0300
commitd4cce391f9836996667067771e4ce9ca64d3fb3c (patch)
tree028241780453a25bafc23862bad475aa16cc8ddc /libresourceqt/src/resource-engine.cpp
parenta19a377ae930d54beb98dbe1f6171c6d39ddea80 (diff)
fixed bug #161198
Diffstat (limited to 'libresourceqt/src/resource-engine.cpp')
-rw-r--r--libresourceqt/src/resource-engine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libresourceqt/src/resource-engine.cpp b/libresourceqt/src/resource-engine.cpp
index 014d2cc..402c0bf 100644
--- a/libresourceqt/src/resource-engine.cpp
+++ b/libresourceqt/src/resource-engine.cpp
@@ -177,7 +177,8 @@ bool ResourceEngine::connectToManager()
qDebug("ResourceEngine is now connecting...");
libresourceSet = resconn_connect(libresourceConnection, &resourceMessage,
statusCallbackHandler);
-
+ if (libresourceSet == NULL)
+ return NULL;
libresourceSet->userdata = this; //save our context
return true;
}