From 25fffbda360fafeeea4164feb4995d088d0a7718 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Tue, 6 Nov 2012 13:47:39 +0000 Subject: Provide a tooltip for, and show the start of, MUC subjects Change-Id: I21bc1391dbd3af9789ec794fc26e67255767647a Resolves: #1151 diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index e345f73..28549f8 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -889,6 +889,8 @@ void QtChatWindow::setAvailableOccupantActions(const std::vector void QtChatWindow::setSubject(const std::string& subject) { //subject_->setVisible(!subject.empty()); subject_->setText(P2QSTRING(subject)); + subject_->setToolTip(P2QSTRING(subject)); + subject_->setCursorPosition(0); } void QtChatWindow::handleActionButtonClicked() { -- cgit v0.10.2-6-g49f6