From 3879b8301fdb094330e9d06ba4cf2be9b0b9ef43 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 30 May 2015 22:51:00 +0200 Subject: [PATCH] Remove unneeded int(). See #706. --- qutebrowser/browser/webview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/webview.py b/qutebrowser/browser/webview.py index 51a266949..06176064d 100644 --- a/qutebrowser/browser/webview.py +++ b/qutebrowser/browser/webview.py @@ -487,7 +487,7 @@ class WebView(QWebView): old_scroll_pos = self.scroll_pos flags = QWebPage.FindFlags(flags) found = self.findText(text, flags) - backward = int(flags) & QWebPage.FindBackward + backward = flags & QWebPage.FindBackward if not found and not flags & QWebPage.HighlightAllOccurrences and text: # User disabled wrapping; but findText() just returns False. If we