[yast-commit] r42727 - /trunk/qt/src/YQWidgetFactory.cc
Author: sh-sh-sh Date: Wed Dec 5 19:22:16 2007 New Revision: 42727 URL: http://svn.opensuse.org/viewcvs/yast?rev=42727&view=rev Log: done automatically in mainWinDock / dialog Modified: trunk/qt/src/YQWidgetFactory.cc Modified: trunk/qt/src/YQWidgetFactory.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQWidgetFactory.cc?rev=42727&r1=42726&r2=42727&view=diff ============================================================================== --- trunk/qt/src/YQWidgetFactory.cc (original) +++ trunk/qt/src/YQWidgetFactory.cc Wed Dec 5 19:22:16 2007 @@ -17,10 +17,14 @@ /-*/ +#define y2log_component "qt-ui" +#include <ycp/y2log.h> + #include "YQWidgetFactory.h" #include "YQUI.h" #include "YUIException.h" #include "YQPackageSelectorPlugin.h" +#include "YQMainWinDock.h" #include <string> @@ -49,8 +53,7 @@ YQDialog * YQWidgetFactory::createDialog( YDialogType dialogType, YDialogColorMode colorMode ) { - QWidget * qParent = 0; - YQDialog * dialog = new YQDialog( qParent, dialogType, colorMode ); + YQDialog * dialog = new YQDialog( dialogType, colorMode ); YUI_CHECK_NEW( dialog ); return dialog; @@ -218,7 +221,7 @@ { YQIntField * intField = new YQIntField( parent, label, minVal, maxVal, initialVal ); YUI_CHECK_NEW( intField ); - + return intField; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org