Merge "Don't access data in moved-from object"
commit
9a1f2c2461
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue