X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fverticaldock.cpp;h=ca156faefb18f81cf40d47725a2d2682d836ed75;hb=f9efdde7f3a6004af8f834c409cfa6ae1d877692;hp=9ad37e4fd52f68ac5c084d9bbf96e606cf43cc78;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce;p=quassel.git diff --git a/src/qtui/verticaldock.cpp b/src/qtui/verticaldock.cpp index 9ad37e4f..ca156fae 100644 --- a/src/qtui/verticaldock.cpp +++ b/src/qtui/verticaldock.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005/06 by the Quassel Project * + * Copyright (C) 2005-2018 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 "verticaldock.h" @@ -34,13 +34,13 @@ VerticalDockTitle::VerticalDockTitle(QDockWidget *parent) QSize VerticalDockTitle::sizeHint() const { - return QSize(8, 15); + return {8, 15}; } QSize VerticalDockTitle::minimumSizeHint() const { - return QSize(8, 10); + return {8, 10}; } @@ -95,7 +95,7 @@ void VerticalDock::setDefaultTitleWidget() void VerticalDock::showTitle(bool show) { QWidget *oldDockTitle = titleBarWidget(); - QWidget *newDockTitle = 0; + QWidget *newDockTitle = nullptr; if (show) newDockTitle = new VerticalDockTitle(this);