diff options
| author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-09-15 23:48:08 +0200 | 
|---|---|---|
| committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-09-15 23:48:08 +0200 | 
| commit | c985ba7e684cf99b4d16f1c2ed1cb4ca126fa5ac (patch) | |
| tree | c29c9d545598015b321f48dd3d43c458836a8517 /src | |
| parent | - Bookmarklet support (diff) | |
| download | rekonq-c985ba7e684cf99b4d16f1c2ed1cb4ca126fa5ac.tar.xz | |
Add a comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/filterurljob.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/src/filterurljob.cpp b/src/filterurljob.cpp index c5ffa607..c0632752 100644 --- a/src/filterurljob.cpp +++ b/src/filterurljob.cpp @@ -58,14 +58,15 @@ KUrl FilterUrlJob::url()  void FilterUrlJob::run()  { -    // this should let rekonq filtering URI info and supporting -    // the beautiful KDE web browsing shortcuts - +    // Bookmarklets handling      if (_urlString.startsWith("javascript:"))      {          _url = KUrl(_urlString);          return;      } + +    // this should let rekonq filtering URI info and supporting +    // the beautiful KDE web browsing shortcuts      KUriFilterData data(_urlString);      data.setCheckForExecutables(false); // if true, queries like "rekonq" or "dolphin" are considered as executables | 
