From: Manuel Nickschas Date: Sat, 2 Feb 2008 21:57:10 +0000 (+0000) Subject: Make the network actions disappear again :p X-Git-Tag: 0.2.0-alpha1~139 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=96a6767430b4e77f4545b21f69f32e5785ee207f;ds=sidebyside Make the network actions disappear again :p --- 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;