Fix crash on dragging titlebar buttons in System Settings
ClosedPublic

Authored by vtronko on Mar 20 2017, 9:34 PM.

Details

Summary

Currently, if user tries to move one of buttons to the left, ending up
dragging one button onto another, crash occurs.

In addition, this patch replaces verbose replacement(remove/insert) with
more elegant QVector<T>::move(int, int)

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vtronko created this revision.Mar 20 2017, 9:34 PM
Restricted Application added a project: KWin. · View Herald TranscriptMar 20 2017, 9:34 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
graesslin accepted this revision.Mar 21 2017, 6:12 AM

do you have push rights?

This revision is now accepted and ready to land.Mar 21 2017, 6:12 AM

No, I don't.

vtronko updated this revision to Diff 12700.Mar 22 2017, 7:44 PM
This revision was automatically updated to reflect the committed changes.