From: Marcus Eggenberger Date: Fri, 21 Mar 2008 14:50:38 +0000 (+0000) Subject: added a tool tip to the topicbar X-Git-Tag: 0.2.0-alpha4~8 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=3031af9e62dc2e88dad257f08d5c0b542c7b4add added a tool tip to the topicbar --- diff --git a/src/qtui/topicbutton.cpp b/src/qtui/topicbutton.cpp index a31c69de..fd1d86a7 100644 --- a/src/qtui/topicbutton.cpp +++ b/src/qtui/topicbutton.cpp @@ -36,6 +36,7 @@ TopicButton::TopicButton(QWidget *parent) : QAbstractButton(parent) { setFixedHeight(QFontMetrics(qApp->font()).height()); + setToolTip("Click to edit!"); } void TopicButton::paintEvent(QPaintEvent *event) { @@ -75,3 +76,4 @@ void TopicButton::setAndStyleText(const QString &text) { setFixedHeight(height); } +