Skip to content

Commit

Permalink
minor code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Tectu committed Oct 7, 2023
1 parent 86d9a03 commit e2b351b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cppproperties/qt_widgets/widget_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ namespace tct::properties::qt_widgets
using type = T;

public:
explicit
widget_base(property<T>& property) :
m_property(property)
{

}

virtual
~widget_base() = default;

protected:
property<T>& m_property;
};
Expand Down

0 comments on commit e2b351b

Please sign in to comment.