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

List:       licq-devel
Subject:    [Licq-devel] [PATCH] Invisible Extended Icons
From:       Thomas Reitelbach <thomas () licq ! org>
Date:       2002-11-18 7:59:15
[Download RAW message or body]

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

Hi,

the invisible icon from the new extended icons is never used when the normal 
icons already provide one. It should be the other way around, my attached 
patch fixes this.

Bye,
Thomas

- -- 
There will be big changes for you but you will be happy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE92J3X+83LmoKU5MARAnseAJ9IITvQhMx0wfNy/J6peHAsQ6s9fQCdH5pD
/iifOYCrtLQC8g0OQnvchXY=
=FZwO
-----END PGP SIGNATURE-----

["licq-userbox-exticons.diff" (text/x-diff)]

Index: licq/plugins/qt-gui/src/userbox.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/userbox.cpp,v
retrieving revision 1.134
diff -u -3 -p -r1.134 userbox.cpp
--- licq/plugins/qt-gui/src/userbox.cpp	8 Nov 2002 00:59:12 -0000	1.134
+++ licq/plugins/qt-gui/src/userbox.cpp	18 Nov 2002 07:57:56 -0000
@@ -492,16 +492,16 @@ void CUserViewItem::paintCell( QPainter 
       }
       if (width - w > 8 && m_bStatusInvisible)
       {
-        if (gMainWindow->pmPrivate.isNull())
-        {
-          p->drawPixmap(w, 0, gMainWindow->pmInvisible);
-          w += gMainWindow->pmInvisible.width() + 2;
-        }
-        else
-        {
-          p->drawPixmap(w, 0, gMainWindow->pmPrivate);
-          w += gMainWindow->pmPrivate.width() + 2;
-        }
+				if (gMainWindow->pmInvisible.isNull())
+				{
+					p->drawPixmap(w, 0, gMainWindow->pmPrivate);
+					w += gMainWindow->pmPrivate.width() + 2;
+				}
+				else
+				{
+					p->drawPixmap(w, 0, gMainWindow->pmInvisible);
+					w += gMainWindow->pmBirthday.width() + 2;
+				}
       }
       if (width - w > 8 && m_bSecure)
       {

-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Licq-devel mailing list
Licq-devel@licq.org
https://lists.sourceforge.net/lists/listinfo/licq-devel

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

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