Commit b138ce8e authored by Mike Kremer's avatar Mike Kremer
Browse files

Trying to get rid of that damn segfault when closing OpenFlipper....

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5622 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 645ec38e
...@@ -440,7 +440,6 @@ CoreWidget( QVector<ViewMode*>& _viewModes, ...@@ -440,7 +440,6 @@ CoreWidget( QVector<ViewMode*>& _viewModes,
CoreWidget::~CoreWidget() { CoreWidget::~CoreWidget() {
delete helpWidget_;
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
......
...@@ -26,7 +26,7 @@ HelpBrowser::HelpBrowser(QHelpEngine* _helpEngine, QWidget* parent) : ...@@ -26,7 +26,7 @@ HelpBrowser::HelpBrowser(QHelpEngine* _helpEngine, QWidget* parent) :
} }
HelpBrowser::~HelpBrowser() { HelpBrowser::~HelpBrowser() {
delete helpEngine_;
} }
QVariant HelpBrowser::loadBytes(const QUrl &url) { QVariant HelpBrowser::loadBytes(const QUrl &url) {
......
...@@ -18,7 +18,7 @@ class HelpBrowser : public QWebView { ...@@ -18,7 +18,7 @@ class HelpBrowser : public QWebView {
public: public:
HelpBrowser(QHelpEngine* _helpEngine, QWidget* parent = 0); HelpBrowser(QHelpEngine* _helpEngine, QWidget* parent = 0);
~HelpBrowser(); virtual ~HelpBrowser();
QVariant loadBytes(const QUrl& url); QVariant loadBytes(const QUrl& url);
......
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
HelpWidget::HelpWidget(QWidget* parent, const QString& _homeSite) HelpWidget::HelpWidget(QWidget* parent, const QString& _homeSite)
: QMainWindow(parent), : QMainWindow(parent),
searchWidget_(0), searchWidget_(0),
results_(0),
textWindow_(0), textWindow_(0),
helpEngine_(0), helpEngine_(0) {
results_(0) {
setupUi(this); setupUi(this);
...@@ -168,5 +168,4 @@ HelpWidget::~HelpWidget() { ...@@ -168,5 +168,4 @@ HelpWidget::~HelpWidget() {
delete searchWidget_; delete searchWidget_;
delete results_; delete results_;
delete textWindow_; delete textWindow_;
delete helpEngine_;
} }
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