Hello community, here is the log from the commit of package yast2-qt for openSUSE:11.4 checked in at Tue Feb 22 11:53:23 CET 2011.
-------- --- old-versions/11.4/all/yast2-qt/yast2-qt.changes 2011-02-16 11:11:17.000000000 +0100 +++ 11.4/yast2-qt/yast2-qt.changes 2011-02-21 17:34:06.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Feb 21 17:37:47 CET 2011 - [email protected] + +- Fixed unselecting items for tree widget (bnc #673801) +- V 2.20.4 + +------------------------------------------------------------------- calling whatdependson for 11.4-i586 Old: ---- yast2-qt-2.20.3.tar.bz2 New: ---- yast2-qt-2.20.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-qt.spec ++++++ --- /var/tmp/diff_new_pack.a8OZVD/_old 2011-02-22 11:53:19.000000000 +0100 +++ /var/tmp/diff_new_pack.a8OZVD/_new 2011-02-22 11:53:19.000000000 +0100 @@ -18,11 +18,11 @@ Name: yast2-qt -Version: 2.20.3 +Version: 2.20.4 Release: 1.<RELEASE2> BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-qt-2.20.3.tar.bz2 +Source0: yast2-qt-2.20.4.tar.bz2 Group: System/YaST License: GPLv2+ BuildRequires: docbook-xsl-stylesheets ++++++ yast2-qt-2.20.3.tar.bz2 -> yast2-qt-2.20.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.20.3/VERSION.cmake new/yast2-qt-2.20.4/VERSION.cmake --- old/yast2-qt-2.20.3/VERSION.cmake 2011-02-16 11:15:49.000000000 +0100 +++ new/yast2-qt-2.20.4/VERSION.cmake 2011-02-21 17:40:08.000000000 +0100 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "20") -SET(VERSION_PATCH "3") +SET(VERSION_PATCH "4") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.20.3/package/yast2-qt.changes new/yast2-qt-2.20.4/package/yast2-qt.changes --- old/yast2-qt-2.20.3/package/yast2-qt.changes 2011-02-16 11:15:50.000000000 +0100 +++ new/yast2-qt-2.20.4/package/yast2-qt.changes 2011-02-21 17:40:08.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Feb 21 17:37:47 CET 2011 - [email protected] + +- Fixed unselecting items for tree widget (bnc #673801) +- V 2.20.4 + +------------------------------------------------------------------- Wed Feb 16 11:14:10 CET 2011 - [email protected] - Fixed event handling in context menu (bnc #671147) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.20.3/src/YQTree.cc new/yast2-qt-2.20.4/src/YQTree.cc --- old/yast2-qt-2.20.3/src/YQTree.cc 2011-02-16 11:15:50.000000000 +0100 +++ new/yast2-qt-2.20.4/src/YQTree.cc 2011-02-21 17:40:08.000000000 +0100 @@ -175,6 +175,7 @@ YQTreeItem * yqTreeItem = (YQTreeItem *) treeItem->data(); YUI_CHECK_PTR( yqTreeItem ); + if ( selected ) { selectItem( yqTreeItem ); @@ -246,6 +247,23 @@ YTree::deselectAllItems(); _qt_treeWidget->clearSelection(); + + if ( hasMultiSelection() ) + { + QTreeWidgetItemIterator it( _qt_treeWidget); + while (*it) + { + YQTreeItem * treeItem = dynamic_cast<YQTreeItem *> (*it); + + if ( treeItem ) + { + treeItem->setCheckState( 0, Qt::Unchecked ); + treeItem->origItem()->setSelected( false ); + } + ++it; + } + } + } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
