Commit 9619df98 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

verbose assert

parent 54de149a
......@@ -121,7 +121,9 @@ public:
void clearListFor(MediaController *mediaController)
{
Q_ASSERT(mediaController);
Q_ASSERT(m_localIds.find(mediaController) != m_localIds.end());
Q_ASSERT_X(m_localIds.find(mediaController) != m_localIds.end(),
"clearing list",
"the MediaController is not registered!");
m_localIds[mediaController].clear();
}
......
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