diff --git a/src/timeline/messagedelegate.h b/src/timeline/messagedelegate.h index ba14bdd96..9345b3483 100644 --- a/src/timeline/messagedelegate.h +++ b/src/timeline/messagedelegate.h @@ -222,7 +222,7 @@ private: } cleanupIncubator(incubator); }; - void cleanupIncubator(MessageObjectIncubator *incubator); + static void cleanupIncubator(MessageObjectIncubator *incubator); void cleanupItem(QQuickItem *item); qreal m_spacing = 0.0;