Mailinglist Archive: yast-commit (687 mails)
| < Previous | Next > |
[yast-commit] r43590 - /trunk/qt/src/YQDialog.cc
- From: coolo@xxxxxxxxxxxxxxxx
- Date: Tue, 15 Jan 2008 07:16:26 -0000
- Message-id: <20080115071627.48CEE31BC0@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |