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

Library: Remove now unused methods/signal/slots

parent 32bd1eec
......@@ -84,21 +84,6 @@ Library::~Library()
delete m_settings;
}
void
Library::mediaLoaded( const Media* media )
{
if ( media != nullptr )
{
//FIXME: metaDataComputed in Media class has no arguments, this shouldn't be working;
//replacing this with disconnect( media, &Media::metaDataComputed, this, &Library::mediaLoaded );
//produces static_assert error
disconnect( media, SIGNAL( metaDataComputed( const Media* ) ),
this, SLOT( mediaLoaded( const Media* ) ) );
}
if (m_nbMediaToLoad.fetchAndAddAcquire( -1 ) == 1)
emit projectLoaded();
}
void
Library::addMedia( Media* media )
{
......
......@@ -60,7 +60,6 @@ private:
void setCleanState( bool newState );
private:
QAtomicInt m_nbMediaToLoad;
bool m_cleanState;
Workspace* m_workspace;
......@@ -68,14 +67,10 @@ private:
void preSave();
void postLoad();
private slots:
void mediaLoaded( const Media* m );
signals:
/**
* \brief
*/
void projectLoaded();
void cleanStateChanged( bool newState );
};
......
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