| 99 | } |
| 100 | |
| 101 | QString KisPlatformPluginInterfaceFactory::osPreferredColorSpaceReport(QWidget *widget) |
| 102 | { |
| 103 | #if KRITA_USE_SURFACE_COLOR_MANAGEMENT_API |
| 104 | if (KisPlatformPluginInterfaceFactory::instance()->surfaceColorManagedByOS()) { |
| 105 | KisRootSurfaceInfoProxy proxy(widget); |
| 106 | KIS_SAFE_ASSERT_RECOVER_NOOP(proxy.isReady()); |
| 107 | return proxy.osPreferredColorSpaceReport(); |
| 108 | } else { |
| 109 | return "Surface color management is not supported on this platform\n"; |
| 110 | } |
| 111 | #else |
| 112 | Q_UNUSED(widget); |
| 113 | return "Surface color management is disabled\n"; |
| 114 | #endif |
| 115 | } |
| 116 | |
| 117 | |
| 118 | KisExtendedModifiersMapperPluginInterface* KisPlatformPluginInterfaceFactory::createExtendedModifiersMapper() |
nothing calls this directly
no test coverage detected