hrev46418 adds 1 changeset to branch 'master' old head: d85bab41bd6873ef4b0cfc02c3b0bb5f224317d2 new head: c19e7bb32bf9e03acc80b9fee496e9f762cc3720 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=c19e7bb+%5Ed85bab4 ---------------------------------------------------------------------------- c19e7bb: Remove all menu items in unambiguous way on x86_64 Signed-off-by: Rene Gollent <rene@xxxxxxxxxxx> [ Urias McCullough <umccullough@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev46418 Commit: c19e7bb32bf9e03acc80b9fee496e9f762cc3720 URL: http://cgit.haiku-os.org/haiku/commit/?id=c19e7bb Author: Urias McCullough <umccullough@xxxxxxxxx> Date: Sat Nov 23 03:45:00 2013 UTC Committer: Rene Gollent <rene@xxxxxxxxxxx> Commit-Date: Sat Nov 23 03:47:47 2013 UTC ---------------------------------------------------------------------------- 1 file changed, 1 insertion(+), 1 deletion(-) src/apps/serialconnect/SerialWindow.cpp | 2 +- ---------------------------------------------------------------------------- diff --git a/src/apps/serialconnect/SerialWindow.cpp b/src/apps/serialconnect/SerialWindow.cpp index cbd7b67..06b1f3a 100644 --- a/src/apps/serialconnect/SerialWindow.cpp +++ b/src/apps/serialconnect/SerialWindow.cpp @@ -182,7 +182,7 @@ SerialWindow::~SerialWindow() void SerialWindow::MenusBeginning() { // remove all items from the menu - while(fConnectionMenu->RemoveItem(0L)); + fConnectionMenu->RemoveItems(0, fConnectionMenu->CountItems(), true); // fill it with the (updated) serial port list BSerialPort serialPort;