Don't crash when opening external editor help dialog.

This commit is contained in:
con
2009-05-04 12:09:58 +02:00
parent baeb67133b
commit a9621e70f6

View File

@@ -31,6 +31,7 @@
#define GENERALSETTINGS_H #define GENERALSETTINGS_H
#include <coreplugin/dialogs/ioptionspage.h> #include <coreplugin/dialogs/ioptionspage.h>
#include <QtCore/QPointer>
#include <QtGui/QWidget> #include <QtGui/QWidget>
namespace Core { namespace Core {
@@ -65,7 +66,7 @@ private slots:
private: private:
Ui::GeneralSettings *m_page; Ui::GeneralSettings *m_page;
QWidget *m_dialog; QPointer<QWidget> m_dialog;
}; };
} // namespace Internal } // namespace Internal