summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-06 17:08:29 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-06 17:08:29 (GMT)
commit8c6bad8a76df59a11bf67ce62e76c3bda0f12007 (patch)
treeadba6aa105e32a42364819490400d8fc0b32cb6b
parent6d5686f264ddfda0e6bf030e16902569e7dc02df (diff)
Fix warning about missing brackets and logic.
CCBUG:368282
-rw-r--r--umbrello/umlmodel/umlobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umlmodel/umlobject.cpp b/umbrello/umlmodel/umlobject.cpp
index febc287..79d96f6 100644
--- a/umbrello/umlmodel/umlobject.cpp
+++ b/umbrello/umlmodel/umlobject.cpp
@@ -220,8 +220,8 @@ QString UMLObject::fullyQualifiedName(const QString& separator,
bool skipPackage = false;
if (!includeRoot) {
UMLDoc *umldoc = UMLApp::app()->document();
- if (umldoc->rootFolderType(umlPackage()) != Uml::ModelType::N_MODELTYPES ||
- (umlPackage() == umldoc->datatypeFolder()));
+ if ((umldoc->rootFolderType(umlPackage()) != Uml::ModelType::N_MODELTYPES) ||
+ (umlPackage() == umldoc->datatypeFolder()))
skipPackage = true;
}
if (!skipPackage) {