]> git.sur5r.net Git - bacula/bacula/commitdiff
Select between two options
authorKern Sibbald <kern@sibbald.com>
Sat, 14 Apr 2007 08:12:53 +0000 (08:12 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 14 Apr 2007 08:12:53 +0000 (08:12 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4546 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/label/label.cpp

index bb5e08dba133c9c9489d28f6fa7f7a4d7f36bd30..062a09acbefde28d23863e3b8b39592a69fe67f5 100644 (file)
@@ -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();
 }