From cd51d382be50bc021739395309e23760f1619759 Mon Sep 17 00:00:00 2001 From: ar Date: Fri, 21 Jan 2005 19:56:15 +0000 Subject: - make opie compilable against qte 2.3.10 snapshot check QT_VERSION against 0x030000 instead of 300 --- (limited to 'noncore/apps/zsafe') diff --git a/noncore/apps/zsafe/shadedlistitem.cpp b/noncore/apps/zsafe/shadedlistitem.cpp index 72c6261..7f340f9 100644 --- a/noncore/apps/zsafe/shadedlistitem.cpp +++ b/noncore/apps/zsafe/shadedlistitem.cpp @@ -52,7 +52,7 @@ ShadedListItem::~ShadedListItem() void ShadedListItem::paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment) { QColorGroup colors(cg); -#if QT_VERSION >=300 +#if QT_VERSION >= 0x030000 const QColorGroup::ColorRole crole = QColorGroup::Base; // const QWidget::BackgroundMode bgmode = lv->viewport()->backgroundMode(); // const QColorGroup::ColorRole crole = QPalette::backgroundRoleFromMode(bgmode); -- cgit v0.9.0.2