Commit cbc9d497 authored by Halla Rempt's avatar Halla Rempt
Browse files

Fix crash when updatable rect is empty

Fix  by Cerebrosus. We should't actually do anything if the updaterect
is empty for some reason.
BUG:264118
CCMAIL: BugReporting@cerebrosus.de
parent 7fca6107
......@@ -97,6 +97,10 @@ public:
if(!m_projection) return true;
QRect applyRect = m_updateRect & m_projection->extent();
// If the intersection of the updaterect and the projection extent is
// null, we are finish here.
if(applyRect.isNull()) return true;
Q_ASSERT(layer->nodeProgressProxy());
......
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