From Talk:Development/Tutorials/KCmdLineArgs ← Thread:Talk:Development/Tutorials/KCmdLineArgs/Can't save the file. You do not have permission to edit this page, for the following reason: The action you have requested is limited to users in one of the groups: Users, Administrators, trusted, KDEDevelopers. You can view and copy the source of this page. Subject: The file is opened correctly from the command line but it doesn't save. After some research I found out it's because url(0).url() returns the url beginning with "file://". Seems like it isn't properly handled by save function (possible bug?). I replaced it with url(0).pathOrUrl() and it works just fine. Quite magically decide whether use path or url. The only thing I didn't check is saving to remote host but opening and local saving is OK. Paweł (talk) Return to Thread:Talk:Development/Tutorials/KCmdLineArgs/Can't save the file.. Retrieved from "https://techbase.kde.org/Thread:Talk:Development/Tutorials/KCmdLineArgs/Can%27t_save_the_file."