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

List:       kde-commits
Subject:    branches/kdevelop/3.4/src
From:       David Nolden <david.nolden.kde () art-master ! de>
Date:       2006-08-07 22:24:12
Message-ID: 1154989452.084358.21383.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 570866 by zwabel:

update the tab-caption on part-change in simpleideal-mode

 M  +8 -1      simplemainwindow.cpp  


--- branches/kdevelop/3.4/src/simplemainwindow.cpp #570865:570866
@@ -264,7 +264,14 @@
 }
 
 void SimpleMainWindow::setCurrentDocumentCaption( const QString &caption )
-{}
+{
+	if( !PartController::getInstance()->activePart() ) return;
+	
+	if (QWidget *widget = \
EditorProxy::getInstance()->topWidgetForPart(PartController::getInstance()->activePart()))
 +	{
+		widget->setCaption(caption);
+	}
+}
 
 KMainWindow *SimpleMainWindow::main()
 {


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

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