Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KSnapshot
Commits
1e367462
Commit
1e367462
authored
Sep 15, 2014
by
Aaron J. Seigo
Browse files
send the last saved snapshot, otherwise save our shot to a temp file
BUG:258431
parent
a280b5b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ksnapshot.cpp
View file @
1e367462
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment