X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Firclistmodel.cpp;h=91ea7ec01dfe98ce9793c74822c467fd46f1c84e;hp=b3ca23de227a8282119a351a41fb75181220aeba;hb=6eefdfc697067d184a589fc8a231b16316c09106;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/client/irclistmodel.cpp b/src/client/irclistmodel.cpp index b3ca23de..91ea7ec0 100644 --- a/src/client/irclistmodel.cpp +++ b/src/client/irclistmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 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); }