Refactor DialogManager.2
This commit is contained in:
@@ -106,7 +106,6 @@ void DialogManager::raiseDeviceError(QObject *parent, QObject *msg) {
|
||||
topWidgetStore.push(dialog);
|
||||
dialog->setWindowModality(Qt::NonModal);
|
||||
dialog->exec();
|
||||
mErrorCount.fetch_sub(1);
|
||||
auto lastDialog = topWidgetStore.pop();
|
||||
lastDialog->deleteLater();
|
||||
}
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
//
|
||||
// Created by Krad on 2022/3/21.
|
||||
//
|
||||
#include "EditPatientDialog.h"
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QDateTime>
|
||||
#include <QToolButton>
|
||||
#include <QSqlTableModel>
|
||||
#include <QUuid>
|
||||
#include "EditPatientDialog.h"
|
||||
|
||||
#include "dialogs/SelectDialog.h"
|
||||
#include "DateSelectDialog.h"
|
||||
#include "components/ListBox.h"
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
|
||||
#include "forms/TabFormWidget.h"
|
||||
#include "EditPatientDialog.h"
|
||||
#include "dialogs/EditPatientDialog.h"
|
||||
|
||||
class PatientDetailForm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user