Commit 1e367462 authored by Aaron J. Seigo's avatar Aaron J. Seigo
Browse files

send the last saved snapshot, otherwise save our shot to a temp file

BUG:258431
parent a280b5b8
......@@ -425,8 +425,8 @@ QUrl KSnapshot::urlToOpen(bool *isTempfile)
*isTempfile = false;
}
if (!m_modified && m_filename.isValid()) {
return m_filename;
if (!m_modified && urlExists(m_successfulSaveUrl, this)) {
return m_successfulSaveUrl;
}
//TODO: better management of the temp files,
......
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