mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Hopefully fixed dupe-file issue.
This commit is contained in:
@@ -125,8 +125,6 @@ MusicScanner::startScan()
|
|||||||
DatabaseCommand_DirMtimes* cmd = new DatabaseCommand_DirMtimes( m_dir );
|
DatabaseCommand_DirMtimes* cmd = new DatabaseCommand_DirMtimes( m_dir );
|
||||||
connect( cmd, SIGNAL( done( QMap<QString, unsigned int> ) ),
|
connect( cmd, SIGNAL( done( QMap<QString, unsigned int> ) ),
|
||||||
SLOT( setMtimes( QMap<QString, unsigned int> ) ) );
|
SLOT( setMtimes( QMap<QString, unsigned int> ) ) );
|
||||||
connect( cmd, SIGNAL( done( QMap<QString, unsigned int> ) ),
|
|
||||||
SLOT( scan() ) );
|
|
||||||
|
|
||||||
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>(cmd) );
|
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>(cmd) );
|
||||||
}
|
}
|
||||||
@@ -135,7 +133,9 @@ MusicScanner::startScan()
|
|||||||
void
|
void
|
||||||
MusicScanner::setMtimes( const QMap<QString, unsigned int>& m )
|
MusicScanner::setMtimes( const QMap<QString, unsigned int>& m )
|
||||||
{
|
{
|
||||||
|
qDebug() << Q_FUNC_INFO << m.count();
|
||||||
m_dirmtimes = m;
|
m_dirmtimes = m;
|
||||||
|
scan();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user