[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-cygwin
Subject:    Re: [PATCH] for Borland & widget-colors
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2004-10-01 4:24:11
Message-ID: 415CDBEB.1060206 () gmx ! de
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Holger Schroeder schrieb:
| Hi,
|
| was this really intended ?
|
| <snip>
|
| +    if ( !( pal == QApplication::palette() ) )
| +        QApplication::setPalette( pal );
| +
| +    // now setup the palette for special widgets
| +    // only set the values which are different from standard values...
| +
| +    //Popup Menu
| +    pal = QApplication::palette();
| +    qc = getQColorFromSys( COLOR_MENU );
|      pal.setBrush( QPalette::Active, QColorGroup::Background, qc );
|      pal.setBrush( QPalette::Inactive, QColorGroup::Background, qc );
| -    pal.setBrush( QPalette::Disabled, QColorGroup::Background, qc );
| +    pal.setBrush( QPalette::Inactive, QColorGroup::Background, qc );
|
| so you will end up with setting the same thing twice in the two last
lines...

This is one of the nice copy'n'paste errors... I send a new patch
directly to Chris.

Thx
Christian


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBXNvrnNKwkgf+zVMRAvXmAJ4m0PNyJJF0mDfvPSJ+hPeBRD+t1wCfU0Qr
/13NGl6a7Q7GgokGuSlX5dw=
=k7/8
-----END PGP SIGNATURE-----
_______________________________________________
kde-cygwin mailing list
kde-cygwin@kde.org
https://mail.kde.org/mailman/listinfo/kde-cygwin
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic