[yast-commit] r42534 - in /branches/tmp/coolo/qt4-port/src: YQWizard.cc YQWizard.h
Author: dmacvicar Date: Fri Nov 30 12:03:15 2007 New Revision: 42534 URL: http://svn.opensuse.org/viewcvs/yast?rev=42534&view=rev Log: the ui compiles Modified: branches/tmp/coolo/qt4-port/src/YQWizard.cc branches/tmp/coolo/qt4-port/src/YQWizard.h Modified: branches/tmp/coolo/qt4-port/src/YQWizard.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/qt4-port/src/YQWizard.cc?rev=42534&r1=42533&r2=42534&view=diff ============================================================================== --- branches/tmp/coolo/qt4-port/src/YQWizard.cc (original) +++ branches/tmp/coolo/qt4-port/src/YQWizard.cc Fri Nov 30 12:03:15 2007 @@ -939,9 +939,8 @@ { YQSignalBlocker sigBlocker( _tree ); - - item->setSelected(true); - //FIXME _tree->ensureItemVisible( item ); + _tree->setCurrentItem(item); + _tree->scrollToItem(item); } } } Modified: branches/tmp/coolo/qt4-port/src/YQWizard.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/qt4-port/src/YQWizard.h?rev=42534&r1=42533&r2=42534&view=diff ============================================================================== --- branches/tmp/coolo/qt4-port/src/YQWizard.h (original) +++ branches/tmp/coolo/qt4-port/src/YQWizard.h Fri Nov 30 12:03:15 2007 @@ -20,6 +20,7 @@ #ifndef YQWizard_h #define YQWizard_h +#include <string> #include <q3vbox.h> #include <qpixmap.h> #include <q3ptrlist.h> @@ -213,7 +214,7 @@ * * Implemented from YWizard. **/ - virtual string currentTreeSelection(); + virtual std::string currentTreeSelection(); /** * Delete all tree items. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
dmacvicar@svn.opensuse.org