diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-16 20:24:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-16 20:24:41 +0900 |
commit | 10e3a7c0b7813a66f235482270b8ab02194384f8 (patch) | |
tree | 971bd3eac95024c8f805f2cbd6561ac42ccaab6e | |
parent | 24146889e22fed761c2ebb4e01a19e65a3bfbae8 (diff) | |
download | twin-style-dekorator-10e3a7c0b7813a66f235482270b8ab02194384f8.tar.gz twin-style-dekorator-10e3a7c0b7813a66f235482270b8ab02194384f8.zip |
Fix SEGV on login caused by PR #11 when transparency is disabled
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | client/deKoratorclient.cpp | 5 |
1 files changed, 1 insertions, 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(); |