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
Games
KTuberling
Commits
af6d1235
Commit
af6d1235
authored
Nov 28, 2020
by
Johnny Jazeix
Committed by
Albert Astals Cid
Nov 28, 2020
Browse files
Fix filename on saving on Windows. path() does not return a valid path.
BUG: 207162
(cherry picked from commit
5c6bfedc
)
parent
0fbd8ae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
toplevel.cpp
View file @
af6d1235
...
...
@@ -395,7 +395,7 @@ void TopLevel::fileSave()
}
else
{
name
=
url
.
path
();
name
=
url
.
toLocalFile
();
}
if
(
!
playGround
->
saveAs
(
name
)
)
...
...
@@ -454,7 +454,7 @@ void TopLevel::filePicture()
}
else
{
name
=
url
.
path
();
name
=
url
.
toLocalFile
();
}
QPixmap
picture
(
playGround
->
getPicture
());
...
...
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