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

History: Remove unused member variable

parent f4bcbb4c
......@@ -42,8 +42,7 @@ int64_t History::* const HistoryTable::PrimaryKey = &History::m_mediaId;
constexpr unsigned int History::MaxEntries;
History::History( MediaLibraryPtr ml, sqlite::Row& row )
: m_ml( ml )
, m_media( Media::load( ml, row ) )
: m_media( Media::load( ml, row ) )
{
// In case we load the media from cache, we won't advance in columns
row.advanceToColumn( row.nbColumns() - 1 );
......
......@@ -60,8 +60,6 @@ public:
static constexpr unsigned int MaxEntries = 20u;
private:
MediaLibraryPtr m_ml;
MediaPtr m_media;
int64_t m_mediaId;
unsigned int m_date;
......
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