diff -r 011600b3cf73 -r 948867719906 src/document.h --- a/src/document.h Wed Jun 15 12:41:57 2022 +0300 +++ b/src/document.h Wed Jun 15 13:03:20 2022 +0300 @@ -76,6 +76,7 @@ private: const std::vector actions() const; void closeShape(); + void renderPreview(QPainter* painter, const void* pensptr); void removeLastPoint(); bool isCloseToExistingPoints() const; };