summaryrefslogtreecommitdiff
path: root/libresourceqt
diff options
context:
space:
mode:
authorRobert Löfman <ext-robert.lofman@nokia.com>2010-12-01 11:51:22 +0200
committerRobert Löfman <ext-robert.lofman@nokia.com>2010-12-01 11:51:22 +0200
commit248ec24e0e776588278053c33bef18be52c489c2 (patch)
treeedea2b391273ffa2b407ae129e5992990d8d3dcf /libresourceqt
parentbd39d64e2e0c08f323187fe9946c437b5ea8af35 (diff)
Implemented suggestions from reviews.
Diffstat (limited to 'libresourceqt')
-rw-r--r--libresourceqt/src/resource-set.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/libresourceqt/src/resource-set.cpp b/libresourceqt/src/resource-set.cpp
index 8f26a13..086401c 100644
--- a/libresourceqt/src/resource-set.cpp
+++ b/libresourceqt/src/resource-set.cpp
@@ -230,14 +230,12 @@ Resource * ResourceSet::resource(ResourceType type) const
bool ResourceSet::initAndConnect()
{
- if ( !initialized )
- {
+ if ( !initialized ) {
qDebug("ResourceSet::%s().... initializing...", __FUNCTION__);
return initialize();
}
- if ( !resourceEngine->isConnectedToManager() )
- {
+ if ( !resourceEngine->isConnectedToManager() ) {
qDebug("ResourceSet::%s().... connecting...", __FUNCTION__);
return resourceEngine->connectToManager();
}