Author: coolo Date: Sun Dec 9 15:14:17 2007 New Revision: 42861 URL: http://svn.opensuse.org/viewcvs/yast?rev=42861&view=rev Log: the dialog looks weired with correctly ported Qt3 code, so I change the colours a bit Modified: trunk/qt4/src/YQDialog.cc Modified: trunk/qt4/src/YQDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/src/YQDialog.cc?rev=42861&r1=42860&r2=42861&view=diff ============================================================================== --- trunk/qt4/src/YQDialog.cc (original) +++ trunk/qt4/src/YQDialog.cc Sun Dec 9 15:14:17 2007 @@ -65,7 +65,7 @@ if ( colorMode != YDialogNormalColor ) { QColor normalBackground ( 0, 128, 0 ); - QColor inputFieldBackground ( 0, 96, 0 ); + QColor inputFieldBackground ( 0xbb, 0xff, 0xbb ); QColor text = Qt::white; if ( colorMode == YDialogInfoColor ) @@ -73,8 +73,7 @@ normalBackground = QColor ( 238, 232, 170 ); // PaleGoldenrod } - QPalette warnPalette( palette() ); - warnPalette.setColor( QPalette::Button, normalBackground ); + QPalette warnPalette( normalBackground ); warnPalette.setColor( QPalette::Text, text ); warnPalette.setColor( QPalette::Base, inputFieldBackground ); setPalette( warnPalette ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org