mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-04 22:27:50 -04:00
QtCreator/QtDesigner don't understand their own classes
Wrapping the Ui:: UI class in a QScopedPointer, a perfectly proper thing to do, causes QtDesigner to fail to grok the code. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5019 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
80ece75da6
commit
6bd4602662
@ -463,6 +463,7 @@ MainWindow::~MainWindow()
|
|||||||
QByteArray cfname=fname.toLocal8Bit();
|
QByteArray cfname=fname.toLocal8Bit();
|
||||||
fftwf_export_wisdom_to_filename(cfname);
|
fftwf_export_wisdom_to_filename(cfname);
|
||||||
m_audioThread->wait ();
|
m_audioThread->wait ();
|
||||||
|
delete ui, ui = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------- writeSettings()
|
//-------------------------------------------------------- writeSettings()
|
||||||
|
@ -205,7 +205,7 @@ private:
|
|||||||
bool m_multiple;
|
bool m_multiple;
|
||||||
QSettings * m_settings;
|
QSettings * m_settings;
|
||||||
|
|
||||||
QScopedPointer<Ui::MainWindow> ui;
|
Ui::MainWindow * ui;
|
||||||
|
|
||||||
// other windows
|
// other windows
|
||||||
Configuration m_config;
|
Configuration m_config;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user