MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / MOApplication

Method MOApplication

src/moapplication.cpp:147–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147MOApplication::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
163OrganizerCore& MOApplication::core()
164{

Callers

nothing calls this directly

Calls 1

addDllsToPathFunction · 0.85

Tested by

no test coverage detected