mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-06 16:58:17 +03:00
restore compatibility with KF 5.26
This commit is contained in:
parent
daa6e1b7bc
commit
ba4837d47b
@ -694,7 +694,7 @@ void DockView::mousePressEvent(QMouseEvent *event)
|
||||
}
|
||||
|
||||
if (applet) {
|
||||
KPluginMetaData meta = applet->pluginMetaData();
|
||||
KPluginMetaData meta = applet->kPackage().metadata();
|
||||
|
||||
if ((meta.pluginId() != "org.kde.plasma.systemtray") &&
|
||||
(meta.pluginId() != "org.kde.latte.plasmoid")) {
|
||||
@ -709,7 +709,7 @@ void DockView::mousePressEvent(QMouseEvent *event)
|
||||
if (this->mouseGrabberItem()) {
|
||||
//workaround, this fixes for me most of the right click menu behavior
|
||||
if (applet) {
|
||||
KPluginMetaData meta = applet->pluginMetaData();
|
||||
KPluginMetaData meta = applet->kPackage().metadata();
|
||||
|
||||
//gives the systemtray direct right click behavior for its applets
|
||||
if (meta.pluginId() != "org.kde.plasma.systemtray") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user