Commit 1b45e11d authored by Devin Lin's avatar Devin Lin 🎨
Browse files

taskpanel: Fix unrecognized return type for force keyboard toggle

parent e9cf10f5
Pipeline #230665 passed with stage
in 1 minute and 23 seconds
......@@ -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();
......
Supports Markdown
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