X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=5800ea79e76b41481fc0a60cc1e26198f2062107;hp=5b0118a22aaaedcf7f95ea64bf4facd871ffd183;hb=a95ad2de573027f9bee36db972bcae4195168d0c;hpb=d00f6a7cadf195b4bf9c3b3101774e6950fbb2ab diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 5b0118a2..5800ea79 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * 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 * @@ -1725,7 +1725,7 @@ void MainWin::clientNetworkCreated(NetworkId id) const Network* net = Client::network(id); auto* act = new QAction(net->networkName(), this); act->setObjectName(QString("NetworkAction-%1").arg(id.toInt())); - act->setData(QVariant::fromValue(id)); + act->setData(QVariant::fromValue(id)); connect(net, &SyncableObject::updatedRemotely, this, &MainWin::clientNetworkUpdated); connect(act, &QAction::triggered, this, &MainWin::connectOrDisconnectFromNet);