/***************************************************************************
- * Copyright (C) 2005-2019 by the Quassel Project *
+ * Copyright (C) 2005-2020 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
foreach (NetworkId id, Client::networkIds()) {
const Network* net = Client::network(id);
if (net->isConnected()) {
- networks->addItem(net->networkName(), QVariant::fromValue<NetworkId>(id));
+ networks->addItem(net->networkName(), QVariant::fromValue(id));
}
}