From 16c650c19e6b8c8f74851939b50402c5e6e4aed2 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 25 Jun 2021 19:18:00 +0300 Subject: Fixed FTBFS caused by some direct TQt classes constructor usage Signed-off-by: Mavridis Philippe --- src/SUSE2client.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/SUSE2client.cpp') diff --git a/src/SUSE2client.cpp b/src/SUSE2client.cpp index a3a7f87..da91319 100644 --- a/src/SUSE2client.cpp +++ b/src/SUSE2client.cpp @@ -653,11 +653,11 @@ void SUSE2Client::create_pixmaps() painter.end(); TQImage aTempImage = aTitleBarTile->convertToImage(); - aGradientBottom = TQColor::TQColor(aTempImage.pixel(0, aTempImage.height()-1)); - aAntialiasBase = TQColor::TQColor(aTempImage.pixel(0, 2)); + aGradientBottom = TQColor(aTempImage.pixel(0, aTempImage.height()-1)); + aAntialiasBase = TQColor(aTempImage.pixel(0, 2)); TQImage iTempImage = iTitleBarTile->convertToImage(); - iGradientBottom = TQColor::TQColor(iTempImage.pixel(0, iTempImage.height()-1)); - iAntialiasBase = TQColor::TQColor(iTempImage.pixel(0, 2)); + iGradientBottom = TQColor(iTempImage.pixel(0, iTempImage.height()-1)); + iAntialiasBase = TQColor(iTempImage.pixel(0, 2)); // the gradient for the fade out effect gradient = KImageEffect::gradient(TQSize(30, titleHeight + TOPMARGIN + DECOHEIGHT), -- cgit v1.2.1