From ebc013ac2af4afb9aef56ee30249ff638b15e6c1 Mon Sep 17 00:00:00 2001 From: Austin Anderson Date: Thu, 4 Jun 2015 22:50:04 -0400 Subject: [PATCH] Removed redundant setter. --- qutebrowser/mainwindow/statusbar/bar.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/qutebrowser/mainwindow/statusbar/bar.py b/qutebrowser/mainwindow/statusbar/bar.py index 9b1219b38..abcc5f5f6 100644 --- a/qutebrowser/mainwindow/statusbar/bar.py +++ b/qutebrowser/mainwindow/statusbar/bar.py @@ -326,16 +326,6 @@ class StatusBar(QWidget): """Getter for self.command_active, so it can be used as Qt property.""" return self._command_active - def _set_command_active(self, val): - """Setter for self._command_active. - - Re-set the stylesheet after setting the value, so everything gets - updated by Qt properly. - """ - log.statusbar.debug("Setting command_active to {}".format(val)) - self._command_active = val - self.setStyleSheet(style.get_stylesheet(self.STYLESHEET)) - @pyqtProperty(bool) def insert_active(self): """Getter for self.insert_active, so it can be used as Qt property."""