Add i18n support for cups advance options

Used 'ppdLocalize' to translate cups options

Change-Id: I7fea7c26194fd6c6ee62a17d3e35d7c2c5be6d3c
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
Renato Araujo Oliveira Filho 2017-12-13 14:16:34 -03:00 committed by Albert Astals Cid
parent ff67dedaaf
commit ccc9cd4404

View File

@ -491,6 +491,7 @@ void QPpdPrintDevice::loadPrinter()
if (m_ppd) {
ppdMarkDefaults(m_ppd);
cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
ppdLocalize(m_ppd);
} else {
cupsFreeDests(1, m_cupsDest);
m_cupsDest = 0;