D24264: edit mode action and dbus
David Edmundson
noreply at phabricator.kde.org
Fri Oct 18 12:27:58 BST 2019
davidedmundson accepted this revision.
davidedmundson added inline comments.
INLINE COMMENTS
> appletslayout.cpp:534
> + QMouseEvent *me = static_cast<QMouseEvent *>(event);
> + if (me->button() == Qt::LeftButton || (me->buttons() & Qt::LeftButton)) {
> + mousePressEvent(me);
the first clause seems redundant
> appletslayout.cpp:593
> && m_mouseDownWasEditMode
> + && (event->source() == Qt::MouseEventSynthesizedBySystem
> + || event->source() == Qt::MouseEventSynthesizedByQt)
Please comment what this is doing.
> want with normal mouse the edit mode not being dismissed when clicking on empty areas but to do it on touch
> shellcorona.cpp:220
> +
> + connect(qApp, &QGuiApplication::focusWindowChanged,
> + this, [this] (QWindow *focusWindow) {
that's clever
REPOSITORY
R120 Plasma Workspace
BRANCH
mart/editMode
REVISION DETAIL
https://phabricator.kde.org/D24264
To: mart, #plasma, #vdg, ngraham, GB_2, davidedmundson
Cc: GB_2, ngraham, davidedmundson, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191018/68744603/attachment.html>
More information about the Plasma-devel
mailing list