init view abstractions

This commit is contained in:
m-aXimilian
2025-06-16 13:19:28 +02:00
committed by Kueffner, Maximilian
parent 1cf6b0773f
commit 1d94f0ab1b
+1 -1
View File
@@ -207,6 +207,6 @@ void pixelarium::ui::AppGLFW::LoadImageProt()
{
this->logger_.Debug(std::format("{}: Creating image {}", __FUNCTION__, p));
last_id = image_view_model_->AddImage(std::make_unique<PixelariumImage>(p));
image_view_model_->AddImage(std::move(std::make_unique<PixelariumImage>(p)));
}
}