From 3b3dd14d679e3f0b73f4a37e8ff45a25158f0e32 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 18 Oct 2021 10:50:48 +0200 Subject: [PATCH] Remove misleading comment - the foreground informaton **is** not updated by this function - not all callers call updateForegroundProcessInfo() afterwards - other functions have a call to updateForegroundProcessInfo() inside, so the whole thing is moot - this commit message is 5x as long as the comment it removes --- src/session/Session.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/session/Session.cpp b/src/session/Session.cpp index e8a63267..13720165 100644 --- a/src/session/Session.cpp +++ b/src/session/Session.cpp @@ -1620,8 +1620,6 @@ int Session::foregroundProcessId() bool Session::isForegroundProcessActive() { - // foreground process info is always updated after this - // This check is wrong when Konsole is started with '-e cmd' // as there will only be one process. // See BKO 134581 for no popup when closing session