Do not call _set_timer_interval() at constructor

No need to call _set_timer_interval() at constructor since it's called
every time timer is going to be started.
This commit is contained in:
Yashar Shahi 2017-07-10 19:21:35 +04:30
parent c015e9cc5d
commit cb0bd2c52d

View File

@ -83,7 +83,6 @@ class MessageView(QWidget):
self._clear_timer = QTimer()
self._clear_timer.timeout.connect(self.clear_messages)
self._set_clear_timer_interval()
objreg.get('config').changed.connect(self._set_clear_timer_interval)
self._last_text = None