[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:29:57 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=8d7d820
The following commit has been merged in the master branch:
commit 8d7d820ef4237a8c260d52f882f72543eeafc35b
Author: Aleix Pol <aleixpol at kde.org>
Date: Wed Jul 6 15:55:04 2016 +0200
Naming consistency. Capabilities is the correct name
---
core/kdeconnectplugin.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/core/kdeconnectplugin.cpp b/core/kdeconnectplugin.cpp
index 936af4a..b439985 100644
--- a/core/kdeconnectplugin.cpp
+++ b/core/kdeconnectplugin.cpp
@@ -26,7 +26,7 @@ struct KdeConnectPluginPrivate
{
Device* mDevice;
QString mPluginName;
- QSet<QString> mOutgoingTypes;
+ QSet<QString> mOutgoingCapabilties;
KdeConnectPluginConfig* mConfig;
};
@@ -36,7 +36,7 @@ KdeConnectPlugin::KdeConnectPlugin(QObject* parent, const QVariantList& args)
{
d->mDevice = qvariant_cast< Device* >(args.at(0));
d->mPluginName = args.at(1).toString();
- d->mOutgoingTypes = args.at(2).toStringList().toSet();
+ d->mOutgoingCapabilties = args.at(2).toStringList().toSet();
d->mConfig = nullptr;
}
@@ -68,8 +68,8 @@ Device const* KdeConnectPlugin::device() const
bool KdeConnectPlugin::sendPackage(NetworkPackage& np) const
{
- if(!d->mOutgoingTypes.contains(np.type())) {
- qCWarning(KDECONNECT_CORE) << metaObject()->className() << "tried to send an unsupported package type" << np.type() << ". Supported:" << d->mOutgoingTypes;
+ if(!d->mOutgoingCapabilties.contains(np.type())) {
+ qCWarning(KDECONNECT_CORE) << metaObject()->className() << "tried to send an unsupported package type" << np.type() << ". Supported:" << d->mOutgoingCapabilties;
return false;
}
// qCWarning(KDECONNECT_CORE) << metaObject()->className() << "sends" << np.type() << ". Supported:" << d->mOutgoingTypes;
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list