diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-12 15:06:08 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-12 15:06:08 +0900 |
| commit | 1933607acea04e6fb5fb1b85a3089bc3e8ef5790 (patch) | |
| tree | 038120175ce2b450275070478a7843c44927538a | |
| parent | 4e481716b0a2f83fb35975d546868f5fc06f5aa9 (diff) | |
| download | tastymenu-1933607acea04e6fb5fb1b85a3089bc3e8ef5790.tar.gz tastymenu-1933607acea04e6fb5fb1b85a3089bc3e8ef5790.zip | |
Remove use of TDE_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
| -rw-r--r-- | src/tastylistview.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
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 <tdeversion.h> #include <kstringhandler.h> #include <tqimage.h> #include <tqpainter.h> @@ -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); |
