[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9
Maximiliano Curia
maxy at moszumanska.debian.org
Mon May 9 09:06:52 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=905bd57
The following commit has been merged in the master branch:
commit 905bd57ad32ae7fa7c57030652f512d8607d15ff
Author: Dan Vrátil <dvratil at redhat.com>
Date: Sun May 26 22:42:04 2013 +0200
Fix 'unused variable' warnings
---
KTp/Declarative/conversations-model.cpp | 1 +
KTp/Declarative/qml-plugins.cpp | 2 ++
KTp/message.cpp | 2 ++
3 files changed, 5 insertions(+)
diff --git a/KTp/Declarative/conversations-model.cpp b/KTp/Declarative/conversations-model.cpp
index 9cb7e47..27bd35c 100644
--- a/KTp/Declarative/conversations-model.cpp
+++ b/KTp/Declarative/conversations-model.cpp
@@ -85,6 +85,7 @@ void ConversationsModel::handleChannels(const Tp::MethodInvocationContextPtr<> &
{
Q_UNUSED(connection);
Q_UNUSED(handlerInfo);
+ Q_UNUSED(userActionTime);
bool handled = false;
bool shouldDelegate = false;
diff --git a/KTp/Declarative/qml-plugins.cpp b/KTp/Declarative/qml-plugins.cpp
index 1e09abd..88e08bf 100644
--- a/KTp/Declarative/qml-plugins.cpp
+++ b/KTp/Declarative/qml-plugins.cpp
@@ -44,6 +44,8 @@
void QmlPlugins::initializeEngine(QDeclarativeEngine *engine, const char *uri)
{
+ Q_UNUSED(uri)
+
engine->rootContext()->setContextProperty(QLatin1String("telepathyManager"), new TelepathyManager(engine));
}
diff --git a/KTp/message.cpp b/KTp/message.cpp
index 5e2bdc3..fa9c608 100644
--- a/KTp/message.cpp
+++ b/KTp/message.cpp
@@ -132,6 +132,8 @@ Message::Message(const Tpl::TextEventPtr &original, const KTp::MessageContext &c
Message::Message(const QString &messageText, const MessageContext &context) :
d(new Private)
{
+ Q_UNUSED(context)
+
d->sentTime = QDateTime::currentDateTime();
d->messageType = Tp::ChannelTextMessageTypeNormal;
d->direction = LocalToRemote;
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list