[prev in list] [next in list] [prev in thread] [next in thread]
List: licq-cvs
Subject: [Licq-cvs] qt-gui/src
From: Jon Keating <emostar () users ! sourceforge ! net>
Date: 2004-05-13 22:56:59
Message-ID: E1BOP8N-0000qX-8d () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/licq/qt-gui/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3183
Modified Files:
ewidgets.cpp
Log Message:
Compilation fix for Qt 3 to Qt 3.1.X
Index: ewidgets.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/ewidgets.cpp,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- ewidgets.cpp 5 May 2004 18:35:24 -0000 1.83
+++ ewidgets.cpp 13 May 2004 22:56:55 -0000 1.84
@@ -489,6 +489,7 @@
r.setLeft(r.left() + pixw + 4);
r.setRight(r.right() + 2);
+#if QT_VERSION >= 0x030200
int xoff = 0, yoff = 0;
if (!selected)
{
@@ -497,6 +498,11 @@
}
p->drawPixmap(br.left() + 2 + xoff, br.center().y()-pixh/2 + yoff, pixmap);
+#else
+ p->drawPixmap(br.left() + 2 + ((selected == TRUE) ? 0 : 2),
+ br.center().y()-pixh/2 + ((selected == TRUE) ? 0 : 2),
+ pixmap);
+#endif
}
QStyle::SFlags flags = QStyle::Style_Default;
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Licq-cvs mailing list
Licq-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/licq-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic