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

List:       kde-commits
Subject:    [konsole/Applications/16.08] src: Fix updating of tab title
From:       Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date:       2016-09-24 18:43:06
Message-ID: E1bnruk-0008Oq-90 () code ! kde ! org
[Download RAW message or body]

Git commit dca6479a86f17b357365f1a598b8deeb0d602dbe by Kurt Hindenburg.
Committed on 24/09/2016 at 18:41.
Pushed by hindenburg into branch 'Applications/16.08'.

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
(cherry picked from commit 3747ecfde0800804717203d7f5fa0f96c0791052)

M  +1    -3    src/Session.cpp

http://commits.kde.org/konsole/dca6479a86f17b357365f1a598b8deeb0d602dbe

diff --git a/src/Session.cpp b/src/Session.cpp
index b8b42ab..6ba9f9b 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