mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2021-01-22 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDServiceListModel' class * Refactored the 'List Services' dialog in rdadmin(1) to use the model-based API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -174,15 +174,15 @@ void AddSvc::okData()
|
||||
EditSvc *edit_svc=new EditSvc(svc_name_edit->text(),this);
|
||||
if(edit_svc->exec()<0) {
|
||||
delete edit_svc;
|
||||
done(-1);
|
||||
done(false);
|
||||
return;
|
||||
}
|
||||
delete edit_svc;
|
||||
done(0);
|
||||
done(true);
|
||||
}
|
||||
|
||||
|
||||
void AddSvc::cancelData()
|
||||
{
|
||||
done(-1);
|
||||
done(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user