summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-08 15:24:27 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-08 15:24:27 (GMT)
commitce81a8390ef170b9368f66832da977fbf26eac86 (patch)
tree09e5bbc71f383e73439db39f24c00f383e0ac6bb
parent14285263a840f84dd62019856bfcd53d457aedd7 (diff)
downloadswift-contrib-ce81a8390ef170b9368f66832da977fbf26eac86.zip
swift-contrib-ce81a8390ef170b9368f66832da977fbf26eac86.tar.bz2
Add example JID to login dialog.
Resolves: #604
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index 00176ca..058f59e 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -72,6 +72,11 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() {
username_->setWhatsThis("User address - looks like someuser@someserver.com");
username_->setToolTip("User address - looks like someuser@someserver.com");
layout->addWidget(username_);
+ QLabel* jidHintLabel = new QLabel(this);
+ jidHintLabel->setText("<font size='-2'>(example: alice@wonderland.lit)</font>");
+ jidHintLabel->setAlignment(Qt::AlignRight);
+ layout->addWidget(jidHintLabel);
+
QLabel* passwordLabel = new QLabel();
passwordLabel->setText("<font size='-1'>Password</font>");