diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-05 11:02:49 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-05 11:02:49 +0200 |
commit | de7f66eca176e99193c40dc8ee6e2c0dcc4bf3b1 (patch) | |
tree | 2bee7ecee510cceb01f4b8c32196216266d81086 /src | |
parent | Fixed FullScreen slot (diff) | |
download | rekonq-de7f66eca176e99193c40dc8ee6e2c0dcc4bf3b1.tar.xz |
Replaced isNull with isEmpty check..
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 3 |
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 } |