[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:05:18 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=d600245
The following commit has been merged in the master branch:
commit d6002459dd80f251a2121b8e2970a0ccb607f95c
Author: George Kiagiadakis <kiagiadakis.george at gmail.com>
Date: Wed Jul 11 16:51:41 2012 +0300
AddContactDialog: Error out if the user did not specify a contact name
---
KTp/Widgets/add-contact-dialog.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/KTp/Widgets/add-contact-dialog.cpp b/KTp/Widgets/add-contact-dialog.cpp
index e2acd67..6c82bcf 100644
--- a/KTp/Widgets/add-contact-dialog.cpp
+++ b/KTp/Widgets/add-contact-dialog.cpp
@@ -122,6 +122,8 @@ void AddContactDialog::accept()
KMessageBox::error(this,
i18n("The requested account has disconnected and so the contact could not be added. Sorry."),
i18n("Connection Error"));
+ } else if (d->ui->screenNameLineEdit->text().isEmpty()) {
+ KMessageBox::error(this, i18n("You did not specify the name of the contact to add"));
} else {
QStringList identifiers = QStringList() << d->ui->screenNameLineEdit->text();
Tp::PendingContacts *pendingContacts = account->connection()->contactManager()->contactsForIdentifiers(identifiers);
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list