X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fnickview.cpp;h=d9e84ec7d9cce46614cd704acdfbf8d9de2d9f72;hb=80950b87640acfb2a75902f8aabf3419da094bf4;hp=3afab5a3d45f0ae2e144b3ea295ee0691c5b355c;hpb=fe155e87ffa75bf4c13ae40311b029adba706816;p=quassel.git diff --git a/src/uisupport/nickview.cpp b/src/uisupport/nickview.cpp index 3afab5a3..d9e84ec7 100644 --- a/src/uisupport/nickview.cpp +++ b/src/uisupport/nickview.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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 * @@ -47,8 +47,6 @@ NickView::NickView(QWidget *parent) setContextMenuPolicy(Qt::CustomContextMenu); setSelectionMode(QAbstractItemView::ExtendedSelection); -// // breaks with Qt 4.8 -// if(QString("4.8.0") > qVersion()) // FIXME breaks with Qt versions >= 4.10! setAnimated(true); connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), SLOT(showContextMenu(const QPoint &))); @@ -78,7 +76,7 @@ void NickView::init() void NickView::setModel(QAbstractItemModel *model_) { if (model()) - disconnect(model(), 0, this, 0); + disconnect(model(), nullptr, this, nullptr); TreeViewTouch::setModel(model_); init();