X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fbuffermodel.cpp;h=e5011f2e9b1c87ed4fd18fed58fe2a850184d333;hb=98144aaad0cd747f186edcd0e36a1d67326ac766;hp=61d4e986975986c15ed9d2c7a204a75d8d771726;hpb=921e54680da16fcf2adb7a90506875aceb6633a4;p=quassel.git diff --git a/src/client/buffermodel.cpp b/src/client/buffermodel.cpp index 61d4e986..e5011f2e 100644 --- a/src/client/buffermodel.cpp +++ b/src/client/buffermodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 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 * @@ -70,7 +70,7 @@ void BufferModel::networkConnectionChanged(Network::ConnectionState state) if (currentIndex().isValid()) return; { - Network *net = qobject_cast(sender()); + auto *net = qobject_cast(sender()); Q_ASSERT(net); setCurrentIndex(mapFromSource(Client::networkModel()->networkIndex(net->networkId()))); }