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:
Bill Somerville 2015-03-08 00:06:43 +00:00
parent 80ece75da6
commit 6bd4602662
2 changed files with 2 additions and 1 deletions

View File

@ -463,6 +463,7 @@ MainWindow::~MainWindow()
QByteArray cfname=fname.toLocal8Bit();
fftwf_export_wisdom_to_filename(cfname);
m_audioThread->wait ();
delete ui, ui = 0;
}
//-------------------------------------------------------- writeSettings()

View File

@ -205,7 +205,7 @@ private:
bool m_multiple;
QSettings * m_settings;
QScopedPointer<Ui::MainWindow> ui;
Ui::MainWindow * ui;
// other windows
Configuration m_config;