From c172346052c4409436ed0d75dbe8ea56de1f7e08 Mon Sep 17 00:00:00 2001 From: BlackAngelTVdev Date: Mon, 16 Nov 2026 08:28:23 +0100 Subject: [PATCH] feat(gui): report the autologin left by an interrupted launch Launches start from this window, so the leftover file that would log the account in at the next boot has to be visible here, while the launch that clears it is still one click away. --- src/gui.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui.cpp b/src/gui.cpp index a43e840..cab826a 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -444,6 +444,14 @@ private: buildRows(); refreshRows(); + + // A launch killed before its cleanup leaves the autologin armed: the next + // launch clears it, but the window has to say so before the reboot. + const std::string stale = fws::staleAutologinFile(); + if (!stale.empty()) { + setStatus("Autologin residuel (« " + stale + + " ») : le prochain lancement le supprime."); + } } void buildRows() {