mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
taskpanel: Fix unrecognized return type for force keyboard toggle
This commit is contained in:
parent
e9cf10f511
commit
1b45e11d8f
1 changed files with 7 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "taskpanel.h"
|
||||
|
||||
#include <QDBusPendingReply>
|
||||
#include <QDebug>
|
||||
#include <QQuickItem>
|
||||
#include <QQuickWindow>
|
||||
|
|
@ -21,6 +22,9 @@
|
|||
|
||||
#include <virtualkeyboardinterface.h>
|
||||
|
||||
// register type for Keyboards.KWinVirtualKeyboard.forceActivate();
|
||||
Q_DECLARE_METATYPE(QDBusPendingReply<>)
|
||||
|
||||
TaskPanel::TaskPanel(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
|
||||
: Plasma::Containment(parent, data, args)
|
||||
{
|
||||
|
|
@ -29,6 +33,9 @@ TaskPanel::TaskPanel(QObject *parent, const KPluginMetaData &data, const QVarian
|
|||
|
||||
qmlRegisterUncreatableType<KWayland::Client::Output>("org.kde.plasma.phone.taskpanel", 1, 0, "Output", "nope");
|
||||
|
||||
// register type for Keyboards.KWinVirtualKeyboard.forceActivate();
|
||||
qRegisterMetaType<QDBusPendingReply<>>();
|
||||
|
||||
connect(this, &Plasma::Containment::locationChanged, this, &TaskPanel::locationChanged);
|
||||
connect(this, &Plasma::Containment::locationChanged, this, [this] {
|
||||
auto l = location();
|
||||
|
|
|
|||
Loading…
Reference in a new issue