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/config/config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config') diff --git a/src/config/config.cpp b/src/config/config.cpp index d0a72bf..6e47ff9 100644 --- a/src/config/config.cpp +++ b/src/config/config.cpp @@ -174,7 +174,7 @@ void SUSE2Config::load(TDEConfig *) TQString titleBarImage = locate("data", "twin/pics/titlebar_decor.png"); titlebarLogoURL = m_config->readEntry("TitleBarLogoURL", titleBarImage); - TQImage tmpLogo = TQImage::TQImage(titlebarLogoURL); + TQImage tmpLogo(titlebarLogoURL); m_dialog->logoImage->setPixmap(TQPixmap(tmpLogo.smoothScale(120, 20, TQImage::ScaleMin))); } @@ -238,7 +238,7 @@ void SUSE2Config::defaults() m_dialog->titleBarLogo->setChecked(false); m_dialog->titleBarLogoOffset->setValue(3); titlebarLogoURL = locate("data", "twin/pics/titlebar_decor.png"); - TQImage tmpLogo = TQImage::TQImage(titlebarLogoURL); + TQImage tmpLogo(titlebarLogoURL); m_dialog->logoImage->setPixmap(TQPixmap(tmpLogo.smoothScale(120, 20, TQImage::ScaleMin))); } @@ -262,7 +262,7 @@ void SUSE2Config::selectImage() KFileItem tmpFileItem = KFileItem(KFileItem::Unknown, KFileItem::Unknown, logoURL); if (!logoURL.isEmpty() && tmpFileItem.isFile() && tmpFileItem.isReadable()) { titlebarLogoURL = logoURL.path(); - TQImage tmpLogo = TQImage::TQImage(titlebarLogoURL); + TQImage tmpLogo(titlebarLogoURL); m_dialog->logoImage->setPixmap(TQPixmap(tmpLogo.smoothScale(120, 20, TQImage::ScaleMin))); emit changed(); } -- cgit v1.2.1