Remove usage of deprecated QRect::unite
Change-Id: I1920da995fde6ff2a8b2e3facddeee6e3c17b44c Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
This commit is contained in:
parent
4f4491e0b6
commit
5cc1a87250
@ -481,7 +481,7 @@ QRegion QColumnView::visualRegionForSelection(const QItemSelection &selection) c
|
||||
|
||||
QRegion firstRegion = visualRect(firstIdx);
|
||||
QRegion lastRegion = visualRect(lastIdx);
|
||||
return firstRegion.unite(lastRegion);
|
||||
return firstRegion.united(lastRegion);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -3204,7 +3204,7 @@ QRect QWorkspacePrivate::updateWorkspace()
|
||||
QWorkspaceChild *child = *it;
|
||||
++it;
|
||||
if (!child->isHidden())
|
||||
r = r.unite(child->geometry());
|
||||
r = r.united(child->geometry());
|
||||
}
|
||||
vbar->blockSignals(true);
|
||||
hbar->blockSignals(true);
|
||||
|
Loading…
Reference in New Issue
Block a user