summaryrefslogtreecommitdiff
path: root/src/protocolhandler.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-02-28 19:28:32 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-28 19:28:32 +0100
commitc45c938b62e7f667acbe956ec13a7fc18e340d4d (patch)
tree820c6bc25fb04d03ec961548bda44105a7c6d576 /src/protocolhandler.cpp
parentDo NOT parse suggestions referred to empty strings (diff)
downloadrekonq-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.cpp12
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();