diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-02-28 19:28:32 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-28 19:28:32 +0100 |
commit | c45c938b62e7f667acbe956ec13a7fc18e340d4d (patch) | |
tree | 820c6bc25fb04d03ec961548bda44105a7c6d576 /src/protocolhandler.cpp | |
parent | Do NOT parse suggestions referred to empty strings (diff) | |
download | rekonq-c45c938b62e7f667acbe956ec13a7fc18e340d4d.tar.xz |
Clean up all d-tors to fix an eventual crash on exit
Diffstat (limited to 'src/protocolhandler.cpp')
-rw-r--r-- | src/protocolhandler.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index 6a1f1534..2c5f2ada 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -89,19 +89,13 @@ static KFileItemList sortFileList(const KFileItemList &list) ProtocolHandler::ProtocolHandler(QObject *parent) - : QObject(parent) - , _lister(new KDirLister(this)) - , _frame(0) + : QObject(parent) + , _lister(new KDirLister(this)) + , _frame(0) { } -ProtocolHandler::~ProtocolHandler() -{ - delete _lister; -} - - bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *frame) { _url = request.url(); |