Fixed some build errors, added tests

This commit is contained in:
Matthias Koefferlein
2022-05-26 07:47:35 +02:00
parent 03761768cf
commit 2b568cdd5e
5 changed files with 51 additions and 29 deletions
+2 -2
View File
@@ -1146,14 +1146,14 @@ ViewObjectUI::thaw (ViewObject *obj)
#if !defined(HAVE_QT)
void
ViewObjectWidget::update ()
ViewObjectUI::update ()
{
// NOTE: this does not need to be thread-safe as we make sure (as in Qt) that update() is always called from the main thread.
m_image_updated = true;
}
bool
ViewObjectWidget::image_updated ()
ViewObjectUI::image_updated ()
{
bool f = m_image_updated;
m_image_updated = false;