mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-04 01:04:47 +00:00
Changed: Define parent of QDialog
This commit is contained in:
parent
58172f33f4
commit
04eac7050c
5 changed files with 5 additions and 5 deletions
|
@ -119,7 +119,7 @@ void CMainWindow::onConfigureClicked()
|
||||||
|
|
||||||
void CMainWindow::onProfiles()
|
void CMainWindow::onProfiles()
|
||||||
{
|
{
|
||||||
CProfilesDialog dialog;
|
CProfilesDialog dialog(this);
|
||||||
|
|
||||||
if (dialog.exec())
|
if (dialog.exec())
|
||||||
{
|
{
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#define new DEBUG_NEW
|
#define new DEBUG_NEW
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
COperationDialog::COperationDialog():QDialog(), m_aborting(false)
|
COperationDialog::COperationDialog(QWidget *parent):QDialog(parent), m_aborting(false), m_operation(OperationNone)
|
||||||
{
|
{
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class COperationDialog : public QDialog, public Ui::OperationDialog, public IOpe
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
COperationDialog();
|
COperationDialog(QWidget *parent = NULL);
|
||||||
virtual ~COperationDialog();
|
virtual ~COperationDialog();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#define new DEBUG_NEW
|
#define new DEBUG_NEW
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CProfilesDialog::CProfilesDialog():QDialog(), m_currentProfileIndex(-1)
|
CProfilesDialog::CProfilesDialog(QWidget *parent):QDialog(parent), m_currentProfileIndex(-1)
|
||||||
{
|
{
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ class CProfilesDialog : public QDialog, public Ui::ProfilesDialog
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CProfilesDialog();
|
CProfilesDialog(QWidget *parent = NULL);
|
||||||
virtual ~CProfilesDialog();
|
virtual ~CProfilesDialog();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|
Loading…
Reference in a new issue