Merge "Don't access data in moved-from object"

bb10
Volker Hilsheimer 2021-03-01 11:16:51 +01:00 committed by Qt CI Bot
commit 9a1f2c2461
1 changed files with 2 additions and 2 deletions

View File

@ -863,9 +863,9 @@ QHash<QStyle::SubControl, QRect> QStyleSheetStyle::titleBarLayout(const QWidget
info.rule = subRule;
info.offset = offsets[where];
info.where = where;
infos.append(std::move(info));
offsets[where] += info.width;
infos.append(std::move(info));
}
}