Bug 418685

Summary: Trying to Backup the file you are working on.
Product: [Applications] kmymoney Reporter: Ored <okanaganred>
Component: fileAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.0.6   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ored 2020-03-10 01:30:35 UTC
SUMMARY
When you click on [File] then "Backup...", in the (Mount Point:) box. There is a "/" at the start of the path description.
example: if I want to backup to (G:/Financial_Folder/KMyMoney-BkUp) location, By default there is a "/" character coded to appear at the start of the location.
[/G:/Financial_Folder/KMyMoney-BkUp] it should be without the backslash "/" character in front of the path. 

STEPS TO REPRODUCE
1. Have the file you are working on open.
2. Click on [File] then "Backup..."
3. Click on [Choose] button, select the location you want.
4. Click on [OK]

OBSERVED RESULT
The Error box pops up "Error copying file to device" Then when you click on the [OK] button, the Error box closes, but you do not have a backup.

EXPECTED RESULT
When doing a "Backup" there should not be a "/" backslash in front of the location selection. 

SOFTWARE/OS VERSIONS
Windows: Microsoft Windows 10 Pro

KDE Frameworks 5.47.0
Qt 5.9.1 (built against 5.9.1)
The windows windowing system

ADDITIONAL INFORMATION
I am not a programmer, but have worked a bit on databases. I think somewhere in the code the "/" is inserted/hard coded to be placed in front of the path selection.
Note: If you take the "/" at the front of the path location out, the backup works fine. Unfortunately some users I think would not figure that out.