fix async work

This commit is contained in:
Andrei Yankovich 2022-01-17 09:38:40 +03:00
parent 4dd75025f7
commit 527364b6fc

View File

@ -85,8 +85,6 @@ void DoctorModel::usePill(QString pillName) {
void DoctorModel::diagnostic() {
_doctor.diagnostic();
auto work = [this](){
_doctor.diagnostic();
};