[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:04:53 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=90ade1c
The following commit has been merged in the master branch:
commit 90ade1cbe3b4d2d04aafe8ebbbd5db0ae9819122
Author: Lasath Fernando <kde at lasath.org>
Date: Tue Jan 10 14:11:21 2012 +1100
constified MessagesModel::sendNewMessage()
---
KTp/Declarative/messages-model.cpp | 2 +-
KTp/Declarative/messages-model.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/KTp/Declarative/messages-model.cpp b/KTp/Declarative/messages-model.cpp
index f0dbba6..47da2c4 100644
--- a/KTp/Declarative/messages-model.cpp
+++ b/KTp/Declarative/messages-model.cpp
@@ -209,7 +209,7 @@ int MessagesModel::rowCount(const QModelIndex& parent) const
return d->messages.size();
}
-void MessagesModel::sendNewMessage(QString message)
+void MessagesModel::sendNewMessage(const QString &message)
{
if (message.isEmpty()) {
kWarning() << "Attempting to send empty string";
diff --git a/KTp/Declarative/messages-model.h b/KTp/Declarative/messages-model.h
index b9a64c7..3d31e90 100644
--- a/KTp/Declarative/messages-model.h
+++ b/KTp/Declarative/messages-model.h
@@ -66,7 +66,7 @@ Q_SIGNALS:
void popoutRequested();
public Q_SLOTS:
- void sendNewMessage(QString message);
+ void sendNewMessage(const QString& message);
private Q_SLOTS:
void onMessageReceived(Tp::ReceivedMessage);
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list