Fixed the assertion

This commit is contained in:
Ivan Čukić 2013-11-18 14:23:58 +01:00
parent 3dbb992e61
commit 655769c8a4

View File

@ -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");