Commit a9621e70 authored by con's avatar con
Browse files

Don't crash when opening external editor help dialog.

parent baeb6713
...@@ -31,6 +31,7 @@ ...@@ -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: ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment