webview: Remove dead search method.

This commit is contained in:
Florian Bruhin 2014-09-29 20:17:22 +02:00
parent e031cc60c8
commit 686f82c5c6

View File

@ -310,16 +310,6 @@ class WebView(QWebView):
level = self._zoom.getitem(offset)
self.zoom_perc(level, fuzzyval=False)
@pyqtSlot(str, int)
def search(self, text, flags):
"""Search for text in the current page.
Args:
text: The text to search for.
flags: The QWebPage::FindFlags.
"""
self._tabs.currentWidget().findText(text, flags)
def go_back(self):
"""Go back a page in the history."""
if self.page().history().canGoBack():