skip the "can't open file" error message, if the file is
author Christoph Cullmann
()
committer Christoph Cullmann
()
commit 42b281a7ab4e26d3f32a431fe3ede18a23f2685f
tree 55735ee47e581dba915630d6934e64e1711f2e41
parent b975b5ff111de815c2e45b15c07ea3ab7d711092
skip the "can't open file" error message, if the file is

1) a local file
2) it just doesn't exit

this avoids error messages for the usual case like

kate <somenewfile.txt>

on the command line or file dialog.

Still you will get errors if just permissions are not ok for file open
or if some kio problems arises with remote urls

BUG: 315261

if somebody likes to do so, I guess this could be even backported
part/buffer/katetextbuffer.cpp
part/document/katebuffer.cpp