Commit af6d1235 authored by Johnny Jazeix's avatar Johnny Jazeix Committed by Albert Astals Cid
Browse files

Fix filename on saving on Windows. path() does not return a valid path.

BUG: 207162

(cherry picked from commit 5c6bfedc)
parent 0fbd8ae3
......@@ -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());
......
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