summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();