[Konsole-devel] [Bug 125796] Konsole tab titles don't refresh themselves automatically (without a user action)
John Stamp
kinsayder at hotmail.com
Tue May 30 19:49:18 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=125796
------- Additional Comments From kinsayder hotmail com 2006-05-30 21:49 -------
It looks like the patch wasn't complete. It breaks updateTitle connections in konsole_part with the following error:
QObject::connect: No such signal TESession::updateTitle()
QObject::connect: (sender name: 'unnamed')
QObject::connect: (receiver name: 'unnamed')
The patch below fixes it so yakuake can again automatically rename sessions.
konsole.cpp may contain more calls to updateTitle that need fixing too.
--- kdebase-3.5.3.orig/konsole/konsole/konsole_part.cpp
+++ kdebase-3.5.3/konsole/konsole/konsole_part.cpp
@ -922,7 +922,7 @
if ( se ) se->setListenToKeyPress(true);
}
-void konsolePart::updateTitle()
+void konsolePart::updateTitle(TESession*)
{
if ( se ) emit setWindowCaption( se->fullTitle() );
}
@ -1064,8 +1064,8 @
this,SLOT(doneSession(TESession*)) );
connect( se,SIGNAL(openURLRequest(const QString &)),
this,SLOT(emitOpenURLRequest(const QString &)) );
- connect( se, SIGNAL( updateTitle() ),
- this, SLOT( updateTitle() ) );
+ connect( se, SIGNAL( updateTitle(TESession*) ),
+ this, SLOT( updateTitle(TESession*) ) );
connect( se, SIGNAL(enableMasterModeConnections()),
this, SLOT(enableMasterModeConnections()) );
connect( se, SIGNAL( processExited(KProcess *) ),
--- kdebase-3.5.3.orig/konsole/konsole/konsole_part.h
+++ kdebase-3.5.3/konsole/konsole/konsole_part.h
@ -89,7 +89,7 @
void doneSession(TESession*);
void sessionDestroyed();
void configureRequest(TEWidget*,int,int x,int y);
- void updateTitle();
+ void updateTitle(TESession*);
void enableMasterModeConnections();
private slots:
More information about the konsole-devel
mailing list