summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-15 21:56:11 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-15 21:56:11 (GMT)
commit136c9f6a320d6e1a38b0d332e6e83c45a97fb70f (patch)
tree066a1a1484ff201f3b2efc8c8339dc0a9998d692 /Swift/QtUI
parent35faa9f75ceeb39df5618a7854ed70a6212c3eb5 (diff)
downloadswift-136c9f6a320d6e1a38b0d332e6e83c45a97fb70f.zip
swift-136c9f6a320d6e1a38b0d332e6e83c45a97fb70f.tar.bz2
Make the Rename Group dialog text a bit friendlier.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/Roster/QtTreeWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidget.cpp b/Swift/QtUI/Roster/QtTreeWidget.cpp
index 571169a..1296872 100644
--- a/Swift/QtUI/Roster/QtTreeWidget.cpp
+++ b/Swift/QtUI/Roster/QtTreeWidget.cpp
@@ -164,7 +164,7 @@ void QtTreeWidget::contextMenuEvent(QContextMenuEvent* event) {
void QtTreeWidget::renameGroup(GroupRosterItem* group) {
bool ok;
- QString newName = QInputDialog::getText(NULL, tr("Rename group"), tr("New name for %1").arg(P2QSTRING(group->getDisplayName())), QLineEdit::Normal, P2QSTRING(group->getDisplayName()), &ok);
+ QString newName = QInputDialog::getText(NULL, tr("Rename group"), tr("Enter a new name for group '%1':").arg(P2QSTRING(group->getDisplayName())), QLineEdit::Normal, P2QSTRING(group->getDisplayName()), &ok);
if (ok) {
eventStream_->send(boost::make_shared<RenameGroupUIEvent>(group->getDisplayName(), Q2PSTRING(newName)));
}