refactor: Fix readability-static-accessed-through-instance warnings

This commit is contained in:
Lars Toenning
2025-10-25 22:21:29 +02:00
parent 5eafb1282d
commit 469d9b8421
28 changed files with 59 additions and 55 deletions

View File

@@ -838,7 +838,7 @@ namespace swift::core
{
const CStatusMessage m = this->supportsContexts() ? this->getIContextApplication()->saveSettings() :
CSettingsCache::instance()->saveToStore();
CLogMessage(this).preformatted(m);
CLogMessage::preformatted(m);
}
// from here on we really rip apart the application object
@@ -870,7 +870,7 @@ namespace swift::core
// clean up all in "deferred delete state"
qApp->sendPostedEvents(nullptr, QEvent::DeferredDelete);
sApp->processEventsFor(500);
processEventsFor(500);
// completed
m_shutdown = true;