Fixed the assertion
This commit is contained in:
parent
3dbb992e61
commit
655769c8a4
@ -537,7 +537,7 @@ void ShellCorona::checkActivities()
|
||||
}
|
||||
|
||||
// Checking whether the result we got is valid. Just in case.
|
||||
Q_ASSERT_X(existingActivities.isEmpty(), "isEmpty", "There are no activities, and the service is running");
|
||||
Q_ASSERT_X(!existingActivities.isEmpty(), "isEmpty", "There are no activities, and the service is running");
|
||||
Q_ASSERT_X(existingActivities[0] != QStringLiteral("00000000-0000-0000-0000-000000000000"),
|
||||
"null uuid", "There is a nulluuid activity present");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user