Skip to content

Commit

Permalink
Don't delete later
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Nov 17, 2024
1 parent 1428dc5 commit 558b678
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/appinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,15 +386,12 @@ void AppInterface::importUrl( const QString &url )
emit importEnded( QFileInfo( filePath ).absolutePath() );
}

temporaryFile->deleteLater();
delete temporaryFile;
return;
}
}

temporaryFile->deleteLater();
delete temporaryFile;

emit importEnded();
} );
}

0 comments on commit 558b678

Please sign in to comment.