Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b0059b1c authored by Sergey V Turchin's avatar Sergey V Turchin Committed by David Edmundson

Middle-click on QSystemTrayIcon сauses context menu

Summary:
Middle-click on QSystemTrayIcon сauses context menu because inconstant with
http://code.qt.io/cgit/qt/qtbase.git/tree/src/platformsupport/dbustray/qstatusnotifieritemadaptor.cpp?h=5.7#n177
QStatusNotifierItemAdaptor::SecondaryActivate()

BUG: 382855

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: cfeck, davidedmundson, McPain

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7013
parent e912ec46
......@@ -275,7 +275,7 @@ void KDEPlatformSystemTrayIcon::init()
});
connect(m_sni, &KStatusNotifierItem::secondaryActivateRequested, [this](const QPoint &pos) {
Q_UNUSED(pos)
emit activated(QPlatformSystemTrayIcon::Context);
emit activated(QPlatformSystemTrayIcon::MiddleClick);
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment