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

List:       kde-commits
Subject:    KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2006-09-07 23:07:15
Message-ID: 1157670435.178217.4979.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 581930 by tokoe:

Show the toplevel item always expanded

(A bug/limitation in QTreeView sets the toplevel item collapsed after
a QSortFilterProxyModel has hidden all items)


 M  +1 -0      ProcessController.cc  


--- trunk/KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib/ProcessController.cc \
#581929:581930 @@ -75,6 +75,7 @@
 	
 	connect(mUi.btnKillProcess, SIGNAL(clicked()), this, SLOT(killProcess()));
 	connect(mUi.txtFilter, SIGNAL(textChanged(const QString &)), &mFilterModel, \
SLOT(setFilterRegExp(const QString &))); +	connect(mUi.txtFilter, \
SIGNAL(textChanged(const QString &)), this, SLOT(expandInit()));  \
connect(mUi.cmbFilter, SIGNAL(currentIndexChanged(int)), &mFilterModel, \
SLOT(setFilter(int)));  connect(mUi.treeView, SIGNAL(expanded(const QModelIndex &)), \
this, SLOT(expandAllChildren(const QModelIndex &)));  connect(mUi.treeView, \
SIGNAL(collapsed(const QModelIndex &)), this, SLOT(resizeFirstColumn()));


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

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