kwin/kcmkwin/kwindecoration/declarative-plugin
Vladyslav Tronko c947e0a601 Fix crash on dragging titlebar buttons in System Settings
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)

BUG: 374153
FIXED-IN: 5.8.7

Reviewers: graesslin, #kwin

Reviewed By: graesslin, #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D5117
2017-03-24 17:04:09 +01:00
..
buttonsmodel.cpp Fix crash on dragging titlebar buttons in System Settings 2017-03-24 17:04:09 +01:00
buttonsmodel.h
CMakeLists.txt
plugin.cpp
plugin.h
previewbridge.cpp
previewbridge.h
previewbutton.cpp
previewbutton.h
previewclient.cpp Restore global menu support 2017-01-11 10:21:03 +01:00
previewclient.h Restore global menu support 2017-01-11 10:21:03 +01:00
previewitem.cpp
previewitem.h
previewsettings.cpp Restore global menu support 2017-01-11 10:21:03 +01:00
previewsettings.h
qmldir