summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-12-26 15:02:12 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-12-26 15:02:12 (GMT)
commita8c4b779ad2795f76769f7dae2749ef869300bee (patch)
treedfe46f0fc5dd99a1a4a436fd3cbea17f64e84076
parent6ec8b32ba119eb04d43979363f6b5c6134e1ea32 (diff)
downloadswift-contrib-a8c4b779ad2795f76769f7dae2749ef869300bee.zip
swift-contrib-a8c4b779ad2795f76769f7dae2749ef869300bee.tar.bz2
Prompt user with JID before deleting.
Resolves: #729
-rw-r--r--Swift/QtUI/ContextMenus/QtRosterContextMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/ContextMenus/QtRosterContextMenu.cpp b/Swift/QtUI/ContextMenus/QtRosterContextMenu.cpp
index 1989dfb..1c2fc4b 100644
--- a/Swift/QtUI/ContextMenus/QtRosterContextMenu.cpp
+++ b/Swift/QtUI/ContextMenus/QtRosterContextMenu.cpp
@@ -73,7 +73,7 @@ void QtRosterContextMenu::handleRemoveContact() {
QMessageBox msgBox;
msgBox.setWindowTitle("Confirm contact deletion");
msgBox.setText("Are you sure you want to delete this contact?");
- msgBox.setInformativeText("This will remove the contact from all groups they may be in.");
+ msgBox.setInformativeText(QString("This will remove the contact '%1' from all groups they may be in.").arg(P2QSTRING(contact->getJID().toString())));
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
msgBox.setDefaultButton(QMessageBox::Yes);
int ret = msgBox.exec();