Skip to content
Commit 20c09f3c authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Don't add invalid URLs to the recent files

Part::openFile() used to return false if the URL of the part was not a
valid archive. This is no longer the case as nowadays we run an async
LoadJob. So MainWindow cannot use the return value of openFile() to
choose whether to add the URL to the recent files. Instead, we connect
to the part's completed() signal which is emitted only if the LoadJob
ends without errors.
parent 2529d2f4
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