Commit ff90f6de authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Media: Add missing field initialization

Fix cid #65546
parent 2d530828
......@@ -85,6 +85,7 @@ Media::Media( MediaLibraryPtr ml, const std::string& title, Type type )
// When creating a Media, meta aren't parsed, and therefor, is the filename
, m_filename( title )
, m_isFavorite( false )
, m_isPresent( true )
, m_changed( false )
{
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment