872 |
872 |
873 if url.scheme() == "about" and \ |
873 if url.scheme() == "about" and \ |
874 url.path() == "home": |
874 url.path() == "home": |
875 url = QUrl("eric:home") |
875 url = QUrl("eric:home") |
876 |
876 |
877 # TODO: extend this logic to about:config (open config dialog) |
|
878 |
|
879 if url.scheme() in ["s", "search"]: |
877 if url.scheme() in ["s", "search"]: |
880 url = manager.currentEngine().searchUrl(url.path().strip()) |
878 url = manager.currentEngine().searchUrl(url.path().strip()) |
881 |
879 |
882 if url.scheme() != "" and \ |
880 if url.scheme() != "" and \ |
883 (url.host() != "" or url.path() != ""): |
881 (url.host() != "" or url.path() != ""): |