From 1933607acea04e6fb5fb1b85a3089bc3e8ef5790 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 12 Mar 2026 15:06:08 +0900 Subject: Remove use of TDE_VERSION Signed-off-by: Michele Calgaro --- src/tastylistview.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/tastylistview.cpp b/src/tastylistview.cpp index 6aef4c7..dabaf4c 100644 --- a/src/tastylistview.cpp +++ b/src/tastylistview.cpp @@ -22,7 +22,6 @@ #include "tastylistview.h" #include "misc.h" -#include #include #include #include @@ -466,15 +465,7 @@ void TastyListViewItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int TQColor fillColor, textColor; -# if TDE_VERSION < TDE_MAKE_VERSION(3,3,91) -# define BackgroundColor backgroundColor() -# else -# define BackgroundColor backgroundColor(0) -# endif - - - fillColor = isSelected() ? cg.highlight() : BackgroundColor; - + fillColor = isSelected() ? cg.highlight() : backgroundColor(0); textColor = isSelected() ? cg.highlightedText() : cg.text(); if( !listView() ) @@ -498,7 +489,7 @@ void TastyListViewItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int } else if( isSelected() && !lv->hasFocus() ) - fillColor = alphaBlendColors( fillColor, BackgroundColor, 150); + fillColor = alphaBlendColors( fillColor, backgroundColor(0), 150); TQFontMetrics fm( font ); widthChanged(column); -- cgit v1.2.3