Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54481 - in /trunk/qt: package/yast2-qt.changes src/YQTree.cc
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Thu, 08 Jan 2009 17:58:54 -0000
  • Message-id: <E1LKz9i-0006AM-Kl@xxxxxxxxxxxxxxxx>
Author: sh-sh-sh
Date: Thu Jan 8 18:58:54 2009
New Revision: 54481

URL: http://svn.opensuse.org/viewcvs/yast?rev=54481&view=rev
Log:
Fixed bnc #464430 - Root tree items always displayed as open

Modified:
trunk/qt/package/yast2-qt.changes
trunk/qt/src/YQTree.cc

Modified: trunk/qt/package/yast2-qt.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=54481&r1=54480&r2=54481&view=diff
==============================================================================
--- trunk/qt/package/yast2-qt.changes (original)
+++ trunk/qt/package/yast2-qt.changes Thu Jan 8 18:58:54 2009
@@ -1,4 +1,14 @@
-------------------------------------------------------------------
+Thu Jan 8 18:58:10 CET 2009 - sh@xxxxxxx
+
+- Fixed bnc #464430 - Root tree items always displayed as open
+
+-------------------------------------------------------------------
+Wed Jan 7 16:44:41 CET 2009 - sh@xxxxxxx
+
+- Fixed bnc #461617: Glyph ArrowLeft / ArrowRight in Arabic
+
+-------------------------------------------------------------------
Wed Dec 17 15:56:32 CET 2008 - tgoettlicher@xxxxxxx

- Added stylesheet editor

Modified: trunk/qt/src/YQTree.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQTree.cc?rev=54481&r1=54480&r2=54481&view=diff
==============================================================================
--- trunk/qt/src/YQTree.cc (original)
+++ trunk/qt/src/YQTree.cc Thu Jan 8 18:58:54 2009
@@ -22,7 +22,6 @@
#include <QTreeWidget>
#include <QVBoxLayout>
#include <QString>
-//Added by qt3to4:
#include <QPixmap>
#define YUILogComponent "qt-ui"
#include "YUILog.h"
@@ -107,6 +106,7 @@
_qt_treeWidget->clear();

buildDisplayTree( 0, itemsBegin(), itemsEnd() );
+ _qt_treeWidget->resizeColumnToContents( 0 );
}


@@ -129,7 +129,6 @@
if ( orig->hasChildren() )
buildDisplayTree( clone, orig->childrenBegin(), orig->childrenEnd()
);
}
- _qt_treeWidget->resizeColumnToContents( 0 );
}


@@ -163,7 +162,10 @@

_qt_treeWidget->setCurrentItem( item );
item->setSelected( true );
- openBranch( item );
+
+ if ( item->parent() )
+ openBranch( (YQTreeItem *) item->parent() );
+
YTree::selectItem( item->origItem(), true );

// yuiDebug() << "selected item: \"" << item->origItem()->label() <<
"\"" << endl;
@@ -175,8 +177,8 @@
{
while ( item )
{
- item->setOpen( true ); // Takes care of origItem()->setOpen()
- item = (YQTreeItem *) item->parent();
+ item->setOpen( true ); // Takes care of origItem()->setOpen()
+ item = (YQTreeItem *) item->parent();
}
}


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages