[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:23:52 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=896cb5d
The following commit has been merged in the master branch:
commit 896cb5dc187afc22ac167cc1c463aeeeb843c790
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Sun Apr 14 20:10:20 2013 +0100
Fix typo in variable name
---
lib/chat-widget.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index ecf3db2..eaf7794 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -69,7 +69,7 @@ public:
{
}
/** Stores whether the channel is ready with all contacts upgraded*/
- bool chatviewlInitialised;
+ bool chatViewInitialized;
Tp::ChannelChatState remoteContactChatState;
bool isGroupChat;
QString title;
@@ -112,7 +112,7 @@ ChatWidget::ChatWidget(const Tp::TextChannelPtr & channel, const Tp::AccountPtr
//load translations for this library. keep this before any i18n() calls in library code
KGlobal::locale()->insertCatalog(QLatin1String("ktpchat"));
- d->chatviewlInitialised = false;
+ d->chatViewInitialized = false;
d->isGroupChat = (channel->targetHandleType() == Tp::HandleTypeContact ? false : true);
d->ui.setupUi(this);
@@ -468,7 +468,7 @@ void ChatWidget::setupContactModelSignals()
void ChatWidget::onHistoryFetched(const QList<KTp::Message> &messages)
{
- d->chatviewlInitialised = true;
+ d->chatViewInitialized = true;
kDebug() << "found" << messages.count() << "messages in history";
Q_FOREACH(const KTp::Message &message, messages) {
@@ -490,7 +490,7 @@ void ChatWidget::acknowledgeMessages()
{
kDebug();
//if we're not initialised we can't have shown anything, even if we are on top, therefore ignore all requests to do so
- if (d->chatviewlInitialised) {
+ if (d->chatViewInitialized) {
//acknowledge everything in the message queue.
d->channel->acknowledge(d->channel->messageQueue());
}
@@ -511,7 +511,7 @@ void ChatWidget::handleIncomingMessage(const Tp::ReceivedMessage &message, bool
{
kDebug() << title() << message.text();
- if (d->chatviewlInitialised) {
+ if (d->chatViewInitialized) {
//debug the message parts (looking for HTML etc)
// Q_FOREACH(Tp::MessagePart part, message.parts())
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list