diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-13 10:29:01 +0200 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-13 10:29:01 +0200 | 
| commit | 40bb017d865cf9622c23e312606b425fe5fdbad0 (patch) | |
| tree | 01e9c728c0790736e3a37d22089a945786438b3c /src | |
| parent | Merge branch 'master' of gitorious.org:rekonq/mainline (diff) | |
| download | rekonq-40bb017d865cf9622c23e312606b425fe5fdbad0.tar.xz | |
Fix crash on close file: tabs
BUG:237426
Diffstat (limited to 'src')
| -rw-r--r-- | src/protocolhandler.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index 27a09737..d710c24c 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -73,7 +73,6 @@ ProtocolHandler::ProtocolHandler(QObject *parent)  ProtocolHandler::~ProtocolHandler()  { -    delete _lister;  } @@ -196,7 +195,7 @@ bool ProtocolHandler::postHandling(const QNetworkRequest &request, QWebFrame *fr              if(_lister)                  delete _lister; -            _lister = new KDirLister; +            _lister = new KDirLister(this);              connect(_lister, SIGNAL(newItems(const KFileItemList &)), this, SLOT(showResults(const KFileItemList &)));              _lister->openUrl(_url); @@ -319,7 +318,7 @@ void ProtocolHandler::slotMostLocalUrlResult(KJob *job)              if(_lister)                  delete _lister; -            _lister = new KDirLister; +            _lister = new KDirLister(this);              connect(_lister, SIGNAL(newItems(const KFileItemList &)), this, SLOT(showResults(const KFileItemList &)));              _lister->openUrl(_url);          } | 
