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 21:11:19 +0900 |
| commit | cb5a7dbb20254071043fe8eb8d5cd7e63a5bf604 (patch) | |
| tree | 3836b0ab8b7c4321f97d41659cbf12ef8fb56c72 /client/deKoratorclient.cpp | |
| parent | 6996b929ab4f08df8a8d37199023bd4d3b3a65dd (diff) | |
| download | twin-style-dekorator-cb5a7dbb.tar.gz twin-style-dekorator-cb5a7dbb.zip | |
Fix SEGV on login caused by PR #11 when transparency is disabled
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 10e3a7c0b7813a66f235482270b8ab02194384f8)
Diffstat (limited to 'client/deKoratorclient.cpp')
| -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(); |
