diff --git a/tools/decobenchmark/preview.cpp b/tools/decobenchmark/preview.cpp index 36cfcd17ca..429cbd2f4b 100644 --- a/tools/decobenchmark/preview.cpp +++ b/tools/decobenchmark/preview.cpp @@ -115,11 +115,11 @@ bool KDecorationPreview::recreateDecoration() { delete deco; deco = m_plugin->createDecoration(bridge); - deco->init(); if (!deco) return false; + deco->init(); positionPreviews(); deco->widget()->show();