Change-Id: Ia7aac74596c2f251c96fecf157d2aa4a935cf602
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
void PuzzleWidget::dragMoveEvent(QDragMoveEvent *event)
{
- QRect updateRect = highlightedRect.unite(targetSquare(event->pos()));
+ QRect updateRect = highlightedRect.united(targetSquare(event->pos()));
if (event->mimeData()->hasFormat("image/x-puzzle-piece")
&& findPiece(targetSquare(event->pos())) == -1) {
void PuzzleWidget::dragMoveEvent(QDragMoveEvent *event)
{
- QRect updateRect = highlightedRect.unite(targetSquare(event->pos()));
+ QRect updateRect = highlightedRect.united(targetSquare(event->pos()));
if (event->mimeData()->hasFormat("image/x-puzzle-piece")
&& findPiece(targetSquare(event->pos())) == -1) {