parent
f2ff9036ae
commit
9a3e1dba27
|
|
@ -237,8 +237,10 @@ bool QPlatformIntegration::hasCapability(Capability cap) const
|
|||
QPlatformPrinterSupport *QPlatformIntegration::printerSupport() const
|
||||
{
|
||||
static QPlatformPrinterSupport *ps = 0;
|
||||
#ifndef QT_NO_PRINTER
|
||||
if (!ps)
|
||||
ps = new QPlatformPrinterSupport;
|
||||
#endif
|
||||
return ps;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue