Add explanatory comment

This commit is contained in:
Nicolas Fella 2020-07-05 15:52:17 +02:00
parent b699372d38
commit bc5863f68f

View file

@ -42,6 +42,7 @@ K_PLUGIN_FACTORY(ShareConfigFactory, registerPlugin<RunCommandConfig>();)
RunCommandConfig::RunCommandConfig(QWidget* parent, const QVariantList& args) RunCommandConfig::RunCommandConfig(QWidget* parent, const QVariantList& args)
: KdeConnectPluginKcm(parent, args, QStringLiteral("kdeconnect_runcommand_config")) : KdeConnectPluginKcm(parent, args, QStringLiteral("kdeconnect_runcommand_config"))
{ {
// The qdbus executable name is different on some systems
QString qdbusExe = QStringLiteral("qdbus-qt5"); QString qdbusExe = QStringLiteral("qdbus-qt5");
if (QStandardPaths::findExecutable(qdbusExe).isEmpty()) { if (QStandardPaths::findExecutable(qdbusExe).isEmpty()) {
qdbusExe = QStringLiteral("qdbus"); qdbusExe = QStringLiteral("qdbus");