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 [kcmkwin/deco] Bring back a decoration buttons configuration interface 2014-12-09 16:07:27 +01:00
CMakeLists.txt [decorations] Introduce logging category for decorations 2015-07-31 13:13:46 +02:00
plugin.cpp Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
plugin.h [kcmkwin/kwindecoration] Import a new decoration configuration module 2014-10-31 07:53:04 +01:00
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 [kcmkwin/deco] Bring back a decoration buttons configuration interface 2014-12-09 16:07:27 +01:00
previewbutton.h [kwindecoration] Add a PreviewButtonItem to the declarative plugin 2014-11-03 16:12:54 +01:00
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 Avoid deleting an engine whilst components from our engine are still in use 2015-01-28 14:12:25 +01:00
previewitem.h [kdecoration2] Decoration::shadow returns QSharedPointer 2014-12-01 09:40:24 +01:00
previewsettings.cpp Restore global menu support 2017-01-11 10:21:03 +01:00
previewsettings.h [kcmkwin/deco] Bring back a decoration buttons configuration interface 2014-12-09 16:07:27 +01:00
qmldir [kcmkwin/kwindecoration] Import a new decoration configuration module 2014-10-31 07:53:04 +01:00