| 145 | } |
| 146 | |
| 147 | MOApplication::MOApplication(int& argc, char** argv) : QApplication(argc, argv) |
| 148 | { |
| 149 | TimeThis tt("MOApplication()"); |
| 150 | |
| 151 | qputenv("QML_DISABLE_DISK_CACHE", "true"); |
| 152 | |
| 153 | connect(&m_styleWatcher, &QFileSystemWatcher::fileChanged, [&](auto&& file) { |
| 154 | log::debug("style file '{}' changed, reloading", file); |
| 155 | updateStyle(file); |
| 156 | }); |
| 157 | |
| 158 | m_defaultStyle = "windowsvista"; |
| 159 | updateStyle(m_defaultStyle); |
| 160 | addDllsToPath(); |
| 161 | } |
| 162 | |
| 163 | OrganizerCore& MOApplication::core() |
| 164 | { |
nothing calls this directly
no test coverage detected