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:
Fred Gleason
2021-01-22 09:06:47 -05:00
parent a3525c88e2
commit 52cb6be95f
23 changed files with 770 additions and 97 deletions

View File

@@ -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);
}