mirror of
https://invent.kde.org/network/kdeconnect-kde.git
synced 2025-12-22 12:14:23 +01:00
Clean up unneeded version checks
With the min. version bumped, those can be safely removed
This commit is contained in:
committed by
Albert Vaca Cintora
parent
1ee75463e0
commit
ac3d439a2a
@@ -77,10 +77,7 @@ void RunCommandPlugin::sendConfig()
|
||||
{
|
||||
QString commands = config()->getString(QStringLiteral("commands"), QStringLiteral("{}"));
|
||||
NetworkPacket np(PACKET_TYPE_RUNCOMMAND, {{QStringLiteral("commandList"), commands}});
|
||||
|
||||
#if KCMUTILS_VERSION >= QT_VERSION_CHECK(5, 45, 0)
|
||||
np.set<bool>(QStringLiteral("canAddCommand"), true);
|
||||
#endif
|
||||
|
||||
sendPacket(np);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user