From Talk:Development/Tutorials/KCmdLineArgsViewing a history listing Time User Activity Comment 15:08, 6 August 2013 Paweł (talk | contribs) New thread created 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. MoreHistory View source Link toPaweł (talk) 15:08, 6 August 2013 Retrieved from "https://techbase.kde.org/Thread:Talk:Development/Tutorials/KCmdLineArgs/Can%27t_save_the_file.#Can.27t_save_the_file._248"