D18317: Don't fail if defaultLanguage dictionary can't be loaded
Ahmad Samir
noreply at phabricator.kde.org
Fri Jan 18 14:02:47 GMT 2019
ahmadsamir added a comment.
In D18317#395530 <https://phabricator.kde.org/D18317#395530>, @pino wrote:
> In D18317#395513 <https://phabricator.kde.org/D18317#395513>, @pino wrote:
>
> > This makes a "core" library grow a dependency on widgets -- not really a good idea, considering there is the sonnetui library for that.
>
>
> In addition to the above, there are also really bad consquences: take a console-only application running QCoreApplication as application class and using sonnetcore. Now, in case of the situation described, sonnetcore will try spawn a QMessageBox, which IIRC exits the application, as no GUI is available.
OK. I didn't know the core/ui differentiation, I'll adjust the patch and see if I can come up with a better solution without having core lib depend on widgets.
Thanks for the pointers.
REPOSITORY
R246 Sonnet
REVISION DETAIL
https://phabricator.kde.org/D18317
To: ahmadsamir, sandsmark, loh.tar
Cc: pino, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190118/295ebe23/attachment.html>
More information about the Kde-frameworks-devel
mailing list