From: Kern Sibbald Date: Sat, 14 Apr 2007 08:12:53 +0000 (+0000) Subject: Select between two options X-Git-Tag: Release-7.0.0~6582 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=36a73ad59da77d11f54576721ef1878057af33b4;p=bacula%2Fbacula Select between two options git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4546 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/label/label.cpp b/bacula/src/qt-console/label/label.cpp index bb5e08dba1..062a09acbe 100644 --- a/bacula/src/qt-console/label/label.cpp +++ b/bacula/src/qt-console/label/label.cpp @@ -69,14 +69,8 @@ void labelDialog::accept() void labelDialog::reject() { - printf("Rejected\n"); this->hide(); m_console->notify(true); - /* believe use of member must occur before delete - * FIXME which do you like better - * delete this; - * or - * close(); */ - close(); + delete this; mainWin->resetFocus(); }