From 10e3a7c0b7813a66f235482270b8ab02194384f8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 16 Nov 2024 20:24:41 +0900 Subject: [PATCH] Fix SEGV on login caused by PR #11 when transparency is disabled Signed-off-by: Michele Calgaro --- client/deKoratorclient.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/deKoratorclient.cpp b/client/deKoratorclient.cpp index dc14eeb..7b2f375 100644 --- a/client/deKoratorclient.cpp +++ b/client/deKoratorclient.cpp @@ -198,10 +198,7 @@ DeKoratorFactory::DeKoratorFactory() readConfig(); initialized_ = TRUE; - if (transparency_) - imageHolder = new QImageHolder(TQImage(), TQImage()); - else - imageHolder = nullptr; + imageHolder = new QImageHolder(TQImage(), TQImage()); initPixmaps();