kwin/kcmkwin/kwindecoration/declarative-plugin
Vladyslav Tronko 1bfe1164f4 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-04-12 18:16:52 +01:00
..
buttonsmodel.cpp Fix crash on dragging titlebar buttons in System Settings 2017-04-12 18:16:52 +01:00
buttonsmodel.h
CMakeLists.txt
plugin.cpp Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
plugin.h
previewbridge.cpp Testing whether m_lastCreatedSettings is not null before calling its method 2016-04-08 09:26:48 +02:00
previewbridge.h [kcmkwin/deco] Delay deleting of PreviewBridge 2015-10-20 14:33:15 +02:00
previewbutton.cpp
previewbutton.h
previewclient.cpp
previewclient.h
previewitem.cpp
previewitem.h
previewsettings.cpp
previewsettings.h
qmldir