Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
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
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
toplevel.cpp
toplevel.cpp
+2
-2
No files found.
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