QmlDebug: Remove assert

Removing an object watch might fail if e.g. the app crashes in between.
This commit is contained in:
Kai Koehne
2011-02-18 11:23:40 +01:00
parent 850f20e151
commit f70bc0180d

View File

@@ -417,7 +417,6 @@ void ClientProxy::removeAllObjectWatches()
{ {
foreach (int watchedObject, m_objectWatches.keys()) foreach (int watchedObject, m_objectWatches.keys())
removeObjectWatch(watchedObject); removeObjectWatch(watchedObject);
Q_ASSERT(m_objectWatches.count() == 0);
} }
void ClientProxy::queryEngineContext(int id) void ClientProxy::queryEngineContext(int id)