mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #46: Update texts
This commit is contained in:
@ -947,9 +947,9 @@ const PDFRendererInfo::Info& PDFRendererInfo::getHardwareAccelerationSupportedIn
|
|||||||
|
|
||||||
if (!surface.isValid())
|
if (!surface.isValid())
|
||||||
{
|
{
|
||||||
info.renderer = PDFTranslationContext::tr("Unknown Device");
|
info.renderer = PDFTranslationContext::tr("GDI Generic");
|
||||||
info.version = PDFTranslationContext::tr("?.?");
|
info.version = PDFTranslationContext::tr("1.1");
|
||||||
info.vendor = PDFTranslationContext::tr("Generic");
|
info.vendor = PDFTranslationContext::tr("System");
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -957,18 +957,18 @@ const PDFRendererInfo::Info& PDFRendererInfo::getHardwareAccelerationSupportedIn
|
|||||||
|
|
||||||
if (!context.create())
|
if (!context.create())
|
||||||
{
|
{
|
||||||
info.renderer = PDFTranslationContext::tr("Unknown Device");
|
info.renderer = PDFTranslationContext::tr("GDI Generic");
|
||||||
info.version = PDFTranslationContext::tr("?.?");
|
info.version = PDFTranslationContext::tr("1.1");
|
||||||
info.vendor = PDFTranslationContext::tr("Generic");
|
info.vendor = PDFTranslationContext::tr("System");
|
||||||
surface.destroy();
|
surface.destroy();
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!context.makeCurrent(&surface))
|
if (!context.makeCurrent(&surface))
|
||||||
{
|
{
|
||||||
info.renderer = PDFTranslationContext::tr("Unknown Device");
|
info.renderer = PDFTranslationContext::tr("GDI Generic");
|
||||||
info.version = PDFTranslationContext::tr("?.?");
|
info.version = PDFTranslationContext::tr("1.1");
|
||||||
info.vendor = PDFTranslationContext::tr("Generic");
|
info.vendor = PDFTranslationContext::tr("System");
|
||||||
surface.destroy();
|
surface.destroy();
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user