Fix SEGV on login caused by PR #11 when transparency is disabled

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/13/head
Michele Calgaro 6 days ago
parent 24146889e2
commit 10e3a7c0b7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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();

Loading…
Cancel
Save