Instead of using try-catch perhaps an interrogation whether the image provider is already installed should be made. QQmlEngine provides API for it, don't know why is not used...
This provider has been in and out of UI toolkit, and yes, I agree, someone should decide where is its place. Meanwhile I suggest all to check whether an image provider is registered before registering, and then no try-catch combination would be needed. And, Jussi, it was you who actually put that try-catch section in the toolkit ;) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1368492 Title: crash opening image file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1368492/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs