mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Issue #77 Rename
This commit is contained in:
@@ -112,7 +112,7 @@ void SwiftGuiStd::performGracefulShutdown()
|
||||
if (!m_init) { return; }
|
||||
m_init = false;
|
||||
|
||||
Q_ASSERT_X(CThreadUtils::isCurrentThreadApplicationThread(), Q_FUNC_INFO, "Should shutdown in main thread");
|
||||
Q_ASSERT_X(CThreadUtils::thisIsMainThread(), Q_FUNC_INFO, "Should shutdown in main thread");
|
||||
|
||||
// shut down all timers
|
||||
this->stopAllTimers(true);
|
||||
@@ -519,7 +519,7 @@ void SwiftGuiStd::checkDbDataLoaded()
|
||||
{
|
||||
if (!sGui || sGui->isShuttingDown()) { return; }
|
||||
Q_ASSERT_X(sGui->hasWebDataServices(), Q_FUNC_INFO, "Missing web services");
|
||||
Q_ASSERT_X(CThreadUtils::isCurrentThreadApplicationThread(), Q_FUNC_INFO, "Wrong thread, needs to run in main thread");
|
||||
Q_ASSERT_X(CThreadUtils::thisIsMainThread(), Q_FUNC_INFO, "Wrong thread, needs to run in main thread");
|
||||
const CEntityFlags::Entity loadEntities = sGui->getWebDataServices()->getSynchronizedEntitiesWithNewerSharedFileOrEmpty(!m_dbDataLoading);
|
||||
if (loadEntities == CEntityFlags::NoEntity)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user