Commit c3912e01 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

feedback: PanelCount should return a QVariantMap or QVariantList

Fixes warning from KUserFeedback
parent e374492d
......@@ -36,7 +36,7 @@ public:
QString name() const override { return i18n("Panel Count"); }
QString description() const override { return i18n("Counts the panels"); }
QVariant data() override { return corona->panelCount(); }
QVariant data() override { return QVariantMap{ { QStringLiteral("panelCount"), corona->panelCount() } } ; }
private:
ShellCorona* const corona;
......
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