summaryrefslogtreecommitdiff
path: root/src/protocolhandler.cpp
diff options
context:
space:
mode:
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();