| 121 | |
| 122 | |
| 123 | void MapperProxyStyle::onSettingsChanged() |
| 124 | { |
| 125 | auto& settings = Settings::getInstance(); |
| 126 | if (touch_mode != settings.touchModeEnabled() |
| 127 | || (touch_mode && button_size != buttonSizePixel(settings))) |
| 128 | { |
| 129 | #ifndef __clang_analyzer__ |
| 130 | // No leak: QApplication takes ownership. |
| 131 | QApplication::setStyle(new MapperProxyStyle(default_palette)); |
| 132 | #endif |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | void MapperProxyStyle::fixupProxyChain(QStyle* base_style) |
| 137 | { |
nothing calls this directly
no test coverage detected