Changeset View
Changeset View
Standalone View
Standalone View
lib/documentview/documentviewcontainer.cpp
Context not available. | |||||
289 | { | 289 | { | ||
---|---|---|---|---|---|
290 | // Animations are disabled. Pretend all fade ins are finished so that added | 290 | // Animations are disabled. Pretend all fade ins are finished so that added | ||
291 | // views are moved to mViews | 291 | // views are moved to mViews | ||
292 | for (DocumentView* view : qAsConst(d->mAddedViews)) { | 292 | QMutableSetIterator<DocumentView*> iterator(d->mAddedViews); | ||
293 | slotFadeInFinished(view); | 293 | while (iterator.hasNext()) { | ||
294 | d->mViews.insert(iterator.next()); | ||||
295 | iterator.remove(); | ||||
294 | } | 296 | } | ||
295 | } | 297 | } | ||
296 | 298 | | |||
Context not available. |