X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fclickablelabel.cpp;h=34661e869824a8a8422c23d20aebd0f6f644b866;hp=d3bc28c66385ce8e82474ff462d294ca73bdc202;hb=c64a887d0f05222590299fb2bb8d56fa9fadb16d;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c diff --git a/src/uisupport/clickablelabel.cpp b/src/uisupport/clickablelabel.cpp index d3bc28c6..34661e86 100644 --- a/src/uisupport/clickablelabel.cpp +++ b/src/uisupport/clickablelabel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2012 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include "clickablelabel.h" @@ -24,15 +24,16 @@ #include ClickableLabel::ClickableLabel(QWidget *parent) - : QLabel(parent) + : QLabel(parent) { } -void ClickableLabel::mouseReleaseEvent(QMouseEvent *event) { - if(event->pos().x() > size().width() || event->pos().y() > size().height()) - return; +void ClickableLabel::mouseReleaseEvent(QMouseEvent *event) +{ + if (event->pos().x() > size().width() || event->pos().y() > size().height()) + return; - event->accept(); - emit clicked(); + event->accept(); + emit clicked(); }