summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-04 19:49:14 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-04 19:49:14 +0200
commit1485dacfa2c08253485808249e56b5faabbae18b (patch)
treeaa864221d8e60afb67f1832f049e93fe16502983 /src/webview.cpp
parentnew Rekonq icon (diff)
downloadrekonq-1485dacfa2c08253485808249e56b5faabbae18b.tar.xz
WebView dtor
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp7
1 files changed, 6 insertions, 1 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())));