Author: coolo Date: Tue Jan 15 08:16:25 2008 New Revision: 43590 URL: http://svn.opensuse.org/viewcvs/yast?rev=43590&view=rev Log: first resize, then show - avoids one scale Modified: trunk/qt/src/YQDialog.cc Modified: trunk/qt/src/YQDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQDialog.cc?rev=43590&r1=43589&r2=43590&view=diff ============================================================================== --- trunk/qt/src/YQDialog.cc (original) +++ trunk/qt/src/YQDialog.cc Tue Jan 15 08:16:25 2008 @@ -196,13 +196,13 @@ if ( newHeight > qApp->desktop()->height() ) newHeight = qApp->desktop()->height(); + resize( newWidth, newHeight ); + if ( hasChildren() ) { + firstChild()->setSize( newWidth, newHeight ); ( ( QWidget* )firstChild()->widgetRep() )->show(); - firstChild()->setSize( newWidth, newHeight ); } - - resize( newWidth, newHeight ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org