Add explanatory comment
This commit is contained in:
parent
b699372d38
commit
bc5863f68f
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue