[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [konsole] src: Fix updating of tab title
From:       Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date:       2016-09-17 16:43:38
Message-ID: E1blIiI-0001W8-26 () code ! kde ! org
[Download RAW message or body]

Git commit 3747ecfde0800804717203d7f5fa0f96c0791052 by Kurt Hindenburg.
Committed on 17/09/2016 at 16:40.
Pushed by hindenburg into branch 'master'.

Fix updating of tab title

Update the tab title to current program running.

Martin, this "if" was committed in
79ca76a94696eda408927b122b0b531676d4ba93.  For now, I removed the "if"

CCBUG: 368785

M  +1    -3    src/Session.cpp

http://commits.kde.org/konsole/3747ecfde0800804717203d7f5fa0f96c0791052

diff --git a/src/Session.cpp b/src/Session.cpp
index 0a229de..68f0ffc 100644
--- a/src/Session.cpp
+++ b/src/Session.cpp
@@ -992,9 +992,7 @@ ProcessInfo* Session::getProcessInfo()
     ProcessInfo* process = 0;
 
     if (isForegroundProcessActive()) {
-        if (_foregroundProcessInfo == nullptr) {
-            updateForegroundProcessInfo();
-        }
+        updateForegroundProcessInfo();
         process = _foregroundProcessInfo;
     } else {
         updateSessionProcessInfo();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic