mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-10 09:57:35 +03:00
fix entry index for plasma taskmanagers
--in plasma taskmanagers the index passed starts from 0 and for latte taskmanager from 1.
This commit is contained in:
parent
9f03e10b3d
commit
052a8519ce
@ -323,7 +323,7 @@ bool GlobalShortcuts::activatePlasmaTaskManagerEntryAtContainment(const Plasma::
|
||||
|
||||
QMetaMethod method = metaObject->method(methodIndex);
|
||||
|
||||
if (method.invoke(item, Q_ARG(QVariant, index))) {
|
||||
if (method.invoke(item, Q_ARG(QVariant, index - 1))) {
|
||||
if (methodIndex2 != -1) {
|
||||
m_methodShowNumbers.invoke(item, Q_ARG(QVariant, true));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user