X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=b126dd9c74ff36e4b02ede00cca2b6d6e747b9fa;hp=5b0118a22aaaedcf7f95ea64bf4facd871ffd183;hb=41bf70c263ee0af80ad1850fabe77ffffee188f4;hpb=579e559a6322209df7cd51c34801fecff5fe734b diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 5b0118a2..b126dd9c 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -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);