Commit ced92664 authored by dt's avatar dt
Browse files

Silence the compiler

parent 7c11c4d8
......@@ -848,7 +848,7 @@ Qt4ProFileNode::~Qt4ProFileNode()
bool Qt4ProFileNode::isParent(Qt4ProFileNode *node)
{
while (node = qobject_cast<Qt4ProFileNode *>(node->parentFolderNode())) {
while ((node = qobject_cast<Qt4ProFileNode *>(node->parentFolderNode()))) {
if (node == this)
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment