mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
Ref T118, init model directories (fixes the issue that no directory was found when triggered from context menu)
This commit is contained in:
@@ -198,6 +198,9 @@ namespace BlackMisc
|
||||
//! A cache has been changed
|
||||
void cacheChanged(const CSimulatorInfo &simInfo);
|
||||
|
||||
//! Get model directories from settings if empty, otherwise checked and UNC path fixed
|
||||
QStringList getInitializedModelDirectories(const QStringList &modelDirectories, const CSimulatorInfo &simulator) const;
|
||||
|
||||
std::atomic<bool> m_cancelLoading { false }; //!< flag, requesting to cancel loading
|
||||
std::atomic<bool> m_loadingInProgress { false }; //!< Loading in progress
|
||||
std::atomic<bool> m_skipLoadingEmptyModelDir { true }; //!< Loading empty model dirs might erase the cache, so normally we skip it
|
||||
|
||||
Reference in New Issue
Block a user