diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2010-05-16 12:32:54 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2010-05-16 12:32:54 +0200 |
commit | e5f4235f3dc440c7c1965204a443ce0107933d7f (patch) | |
tree | 1b3b687ebbb64c2be8082d607b6304a92bb7d1ee /src/urlbar/urlresolver.h | |
parent | Merge commit 'refs/merge-requests/2262' of git://gitorious.org/rekonq/mainlin... (diff) | |
download | rekonq-e5f4235f3dc440c7c1965204a443ce0107933d7f.tar.xz |
performance improvement: build one static regexp instead of several in the isHttp method (they was built for each key pressed)
Diffstat (limited to 'src/urlbar/urlresolver.h')
-rw-r--r-- | src/urlbar/urlresolver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/urlresolver.h b/src/urlbar/urlresolver.h index 7a8262b3..7d3db967 100644 --- a/src/urlbar/urlresolver.h +++ b/src/urlbar/urlresolver.h @@ -84,7 +84,7 @@ private: UrlSearchList bookmarksResolution(); UrlSearchList placeTypedDomaineNameOnTop(UrlSearchList list); - bool isHttp(); + static QRegExp *_browseRegexp; }; #endif // URL_RESOLVER_H |