From 96a6767430b4e77f4545b21f69f32e5785ee207f Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Sat, 2 Feb 2008 21:57:10 +0000 Subject: [PATCH] Make the network actions disappear again :p --- src/qtui/mainwin.cpp | 5 +++-- version.inc | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 2d980dcf..83032f1d 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -377,9 +377,10 @@ void MainWin::clientNetworkRemoved(NetworkId id) { QAction *action; while(actionIter != networkActions.end()) { action = *actionIter; - if(action->data().value() == id) + if(action->data().value() == id) { + action->deleteLater(); actionIter = networkActions.erase(actionIter); - else + } else actionIter++; } } diff --git a/version.inc b/version.inc index 05c6e71f..665f5718 100644 --- a/version.inc +++ b/version.inc @@ -5,7 +5,7 @@ quasselVersion = "0.2.0-pre"; quasselDate = "2008-02-02"; - quasselBuild = 440; + quasselBuild = 441; //! Minimum client build number the core needs clientBuildNeeded = 435; -- 2.20.1