On Tue, Feb 16, 2016 at 6:27 PM, Christian Dávid wrote:
> Hi,
>
> I noticed that in KMyMoney the filter strings for file dialogs are created "by
> hand", e.g. i18n("C++ sources (*.cpp *.cxx *.c++);;All files (*)"). So each of
> them must be translated. Alternatively something like
>
> QMimeDatabas
Am Dienstag, 16. Februar 2016, 18:27:23 schrieb Christian Dávid:
Hi,
> I noticed that in KMyMoney the filter strings for file dialogs are
> created "by hand", e.g. i18n("C++ sources (*.cpp *.cxx *.c++);;All
> files (*)"). So each of them must be translated. Alternatively
> something like
>
> QMi
Hi,
I noticed that in KMyMoney the filter strings for file dialogs are created "by
hand", e.g. i18n("C++ sources (*.cpp *.cxx *.c++);;All files (*)"). So each of
them must be translated. Alternatively something like
QMimeDatabase db;
db.mimeTypeForName("text/x-c++src").filterString()
could be