Skip to content
Commit f7142382 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

KPluginFactory: Allow registering of classes without QVariantList arg

In a few cases, like applets, the underlying framework needs the
arguments. Most of the time however, they are unused.
With this change, consumers no longer need to take the args in the constructor
and discard them/pass them to the frameworks baseclass where they are discarded.

The usecase I have specifically in mind is KCMs that get shown
in a KPluginWidget. Only in some cases (like KDE-Connect) we
use the arguments. In the KCModule class we don't use them either.
parent ceac48ca
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