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

Import: Fixed crash when loading a directory containing at least one directory.

Fixes #63
Also removed a forgotten debug output.
parent 3f0f45d4
......@@ -200,7 +200,7 @@ ImportController::importDir( const QString &path )
foreach ( QFileInfo fInfo, files )
{
if ( fInfo.isDir() == true )
importDir( fInfo.absolutePath() );
importDir( fInfo.absoluteFilePath() );
else
{
QString ext = fInfo.suffix();
......
......@@ -359,7 +359,6 @@ Clip* TrackWorkflow::removeClip( const QUuid& id )
computeLength();
cw->disconnect();
delete cw;
qDebug() << "Deleted clipworkflow";
if ( m_length == 0 )
emit trackEndReached( m_trackId );
return clip;
......
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