mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05: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
276b726b2d
commit
75f3bbe70c
@ -463,6 +463,7 @@ MainWindow::~MainWindow()
|
||||
QByteArray cfname=fname.toLocal8Bit();
|
||||
fftwf_export_wisdom_to_filename(cfname);
|
||||
m_audioThread->wait ();
|
||||
delete ui, ui = 0;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------- writeSettings()
|
||||
|
@ -205,7 +205,7 @@ private:
|
||||
bool m_multiple;
|
||||
QSettings * m_settings;
|
||||
|
||||
QScopedPointer<Ui::MainWindow> ui;
|
||||
Ui::MainWindow * ui;
|
||||
|
||||
// other windows
|
||||
Configuration m_config;
|
||||
|
Loading…
Reference in New Issue
Block a user