X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Firclistmodel.cpp;h=91ea7ec01dfe98ce9793c74822c467fd46f1c84e;hb=8582c2ad5708a1972c85bea1cf8d81ad3ece4814;hp=d01ba97fb60bab462f70d29f0f18244dcbe7688b;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c;p=quassel.git diff --git a/src/client/irclistmodel.cpp b/src/client/irclistmodel.cpp index d01ba97f..91ea7ec0 100644 --- a/src/client/irclistmodel.cpp +++ b/src/client/irclistmodel.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 * @@ -77,7 +77,7 @@ QModelIndex IrcListModel::index(int row, int column, const QModelIndex &parent) { Q_UNUSED(parent); if (row >= rowCount() || column >= columnCount()) - return QModelIndex(); + return {}; return createIndex(row, column); }