re-add some nullptr

to be safe since their removal within assert() or bools might have some impact I don't know
This commit is contained in:
Uwe
2022-07-18 02:32:36 +02:00
parent 8b99abd81b
commit 24468b59ad
8 changed files with 23 additions and 24 deletions

View File

@@ -207,13 +207,12 @@ ResultEntry::~ResultEntry()
void ResultEntry::buildEntryName()
{
ResultEntry *parentEntry = this;
while(parentEntry->parent)
{
ResultEntry *temp = parentEntry->parent;
if (!temp->parent)
break;
parentEntry = parentEntry->parent;
}
while (parentEntry->parent != nullptr) {
ResultEntry *temp = parentEntry->parent;
if (!temp->parent)
break;
parentEntry = parentEntry->parent;
}
QString stringOut;
QTextStream stream(&stringOut);