[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:01:36 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=bb1e2cb
The following commit has been merged in the master branch:
commit bb1e2cb5b72cb4d9b81180c63024c89319eefbf7
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Fri Feb 10 16:16:40 2012 +0100
Allow creation of already existing accounts
This allows to create more than one msn-xmpp accounts.
Reviewed-by: David Edmundson <kde at davidedmundson.co.uk>
---
src/add-account-assistant.cpp | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/add-account-assistant.cpp b/src/add-account-assistant.cpp
index 3023cf9..52dd6f9 100644
--- a/src/add-account-assistant.cpp
+++ b/src/add-account-assistant.cpp
@@ -205,17 +205,6 @@ void AddAccountAssistant::accept()
return;
}
- // Check account we're trying to create doesn't already exist
- Q_FOREACH (const Tp::AccountPtr &account, d->accountManager->allAccounts()) {
- if (values.value(QLatin1String("account")) == account->displayName()
- && d->currentProfileItem->protocolName() == account->protocolName()) {
- Q_EMIT feedbackMessage(i18n("Failed to create account"),
- i18n("Account already exists. Old one will be used instead"),
- KMessageWidget::Error);
- return;
- }
- }
-
// FIXME: In some next version of tp-qt4 there should be a convenience class for this
// https://bugs.freedesktop.org/show_bug.cgi?id=33153
QVariantMap properties;
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list