summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-05 11:02:49 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-05 11:02:49 +0200
commitde7f66eca176e99193c40dc8ee6e2c0dcc4bf3b1 (patch)
tree2bee7ecee510cceb01f4b8c32196216266d81086 /src
parentFixed FullScreen slot (diff)
downloadrekonq-de7f66eca176e99193c40dc8ee6e2c0dcc4bf3b1.tar.xz
Replaced isNull with isEmpty check..
Diffstat (limited to 'src')
-rw-r--r--src/webview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index a3458fc5..13eeead5 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -177,7 +177,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
foreach (const QString &engine, favoriteEngines)
{
- if(!engine.isNull())
+ if(!engine.isEmpty())
{
service = KService::serviceByDesktopPath(QString("searchproviders/%1.desktop").arg(engine));
const QString searchProviderPrefix = *(service->property("Keys").toStringList().begin()) + keywordDelimiter;
@@ -191,6 +191,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
}
menu.addAction(searchMenu);
menu.addSeparator();
+
// TODO Add translate, show translation
}