Commit f5c2a04e authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix output device context menu

Summary: Port QML type got wrongly removed.

Test Plan: Open context menu

Reviewers: broulik, drosca

Reviewed By: drosca

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10280
parent 9d354da6
......@@ -29,6 +29,7 @@
#include "context.h"
#include "modulemanager.h"
#include "profile.h"
#include "port.h"
#include "globalactioncollection.h"
#include "volumeosd.h"
......@@ -56,6 +57,7 @@ void Plugin::registerTypes(const char* uri)
qmlRegisterType<QPulseAudio::StreamRestoreModel>(uri, 0, 1, "StreamRestoreModel");
qmlRegisterType<QPulseAudio::ModuleModel>(uri, 0, 1, "ModuleModel");
qmlRegisterUncreatableType<QPulseAudio::Profile>(uri, 0, 1, "Profile", QString());
qmlRegisterUncreatableType<QPulseAudio::Port>(uri, 0, 1, "Port", QString());
qmlRegisterType<GlobalAction>(uri, 0, 1, "GlobalAction");
qmlRegisterType<GlobalActionCollection>(uri, 0, 1, "GlobalActionCollection");
qmlRegisterType<VolumeOSD>(uri, 0, 1, "VolumeOSD");
......
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