Skip to content
Snippets Groups Projects
Commit 1a922263 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

new -> make_unique

parent a5f72e6b
No related branches found
No related tags found
1 merge request!2290replace camel case in member vars; simplify updateCanvas API
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
MaskeditorListmodel::MaskeditorListmodel(MaskList* item) MaskeditorListmodel::MaskeditorListmodel(MaskList* item)
: m_mask_container_item(item) : m_mask_container_item(item)
, m_selection_model(new QItemSelectionModel(this)) , m_selection_model(std::make_unique<QItemSelectionModel>(this))
{ {
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment