Don't crash on empty protocol requested
Be more fault-tolerant to a dummy input from client code, and don't crash when an empty url/protocol is requested. There is already an infrastructure for handling null return value in place, e.g. in the KProtocolInfo::extraFields method, since it can not be guaranteed that a requested protocol really exists.
This patch prevents icon applet from crashing when attempted to be configured when launched via plasmoidviewer.
By the way, this is how currently the file properties dialog looks like for such an empty url in plasmoidviewer:
Still better than SEGFAULT Core dumped