fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359
This commit is contained in:
@@ -755,7 +755,8 @@ void QGIViewPart::toggleCache(bool state)
|
||||
QList<QGraphicsItem*> items = childItems();
|
||||
for(QList<QGraphicsItem*>::iterator it = items.begin(); it != items.end(); it++) {
|
||||
//(*it)->setCacheMode((state)? DeviceCoordinateCache : NoCache); //TODO: fiddle cache settings if req'd for performance
|
||||
(*it)->setCacheMode((state)? NoCache : NoCache);
|
||||
Q_UNUSED(state);
|
||||
(*it)->setCacheMode(NoCache);
|
||||
(*it)->update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user