diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-04 19:49:14 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-04 19:49:14 +0200 |
commit | 1485dacfa2c08253485808249e56b5faabbae18b (patch) | |
tree | aa864221d8e60afb67f1832f049e93fe16502983 /src | |
parent | new Rekonq icon (diff) | |
download | rekonq-1485dacfa2c08253485808249e56b5faabbae18b.tar.xz |
WebView dtor
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 7 | ||||
-rw-r--r-- | src/webview.h | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index f4e41301..ac6f4566 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -67,6 +67,11 @@ WebView::WebView(QWidget* parent) } +WebView::~WebView() +{ +} + + WebPage *WebView::page() { if(!m_page) @@ -179,7 +184,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) if(!engine.isEmpty()) { service = KService::serviceByDesktopPath(QString("searchproviders/%1.desktop").arg(engine)); - const QString searchProviderPrefix = *(service->property("Keys").toStringList().begin()) + keywordDelimiter; + const QString searchProviderPrefix = *(service->property("Keys").toStringList().begin()) + keywordDelimiter; // FIXME crashed data.setData(searchProviderPrefix + "some keyword"); a = new KAction(service->name(), this); a->setIcon(Application::icon(KUrl(data.uri()))); diff --git a/src/webview.h b/src/webview.h index 55de3ad2..4dc7306d 100644 --- a/src/webview.h +++ b/src/webview.h @@ -45,7 +45,8 @@ class WebView : public QWebView public: explicit WebView(QWidget *parent = 0); - + ~WebView(); + WebPage *page(); KUrl url() const; QString lastStatusBarText() const; |