Add clocks to shared class and add search cache clearing

This commit is contained in:
Veronica Berglyd Olsen
2024-03-25 18:13:05 +01:00
parent 01a4ec8d76
commit 8a12b03a1f
4 changed files with 55 additions and 34 deletions
+1 -5
View File
@@ -794,11 +794,7 @@ class _PreviewWidget(QTextBrowser):
self._updateDocMargins()
self._updateBuildAge()
# Age Timer
self.ageTimer = QTimer(self)
self.ageTimer.setInterval(10)
self.ageTimer.timeout.connect(self._updateBuildAge)
self.ageTimer.start()
SHARED.slowClockTick.connect(self._updateBuildAge)
return