diff options
author | Robert Löfman <ext-robert.lofman@nokia.com> | 2010-12-01 11:51:22 +0200 |
---|---|---|
committer | Robert Löfman <ext-robert.lofman@nokia.com> | 2010-12-01 11:51:22 +0200 |
commit | 248ec24e0e776588278053c33bef18be52c489c2 (patch) | |
tree | edea2b391273ffa2b407ae129e5992990d8d3dcf /libresourceqt/src | |
parent | bd39d64e2e0c08f323187fe9946c437b5ea8af35 (diff) |
Implemented suggestions from reviews.
Diffstat (limited to 'libresourceqt/src')
-rw-r--r-- | libresourceqt/src/resource-set.cpp | 6 |
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(); } |