fix(gui): drop sample count from the recording badge — 0.18.1

The live sample count wasn't useful at a glance. The sidebar badge now shows
just ● Recording + the game, plus a ⚠ GPU-lost line when detected.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-22 09:08:04 +02:00
parent 7ac14416b5
commit 1b24d1b032
4 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
"""RigDoctor — modular hardware monitoring & crash diagnostics for Linux gamers."""
__version__ = "0.18.0"
__version__ = "0.18.1"
+2 -3
View File
@@ -270,12 +270,11 @@ class MainWindow(QMainWindow):
self._rec_indicator.hide()
return
game = status.get("game")
samples = status.get("samples", 0)
lost = " · GPU-lost" if status.get("gpu_lost") else ""
lines = [f"<span style='color:{CRIT};'>●</span> <b style='color:{TEXT};'>Recording</b>"]
if game:
lines.append(f"<span style='color:{TEXT};'>{html.escape(str(game))}</span>")
lines.append(f"<span style='color:{MUTED};'>{samples} samples{lost}</span>")
if status.get("gpu_lost"):
lines.append(f"<span style='color:{CRIT};'>⚠ GPU-lost</span>")
self._rec_indicator.setText("<br>".join(lines))
self._rec_indicator.show()