@@ -16,13 +16,13 @@ LoadMapping::~LoadMapping()
|
||||
|
||||
}
|
||||
|
||||
bool LoadMapping::load(const QString &loadDir,const QString &matchdDir)
|
||||
bool LoadMapping::load(const QString &loadDir,const QString &matchdDir,const QString &exceptionFile)
|
||||
{
|
||||
if(LoadMapping::ht->keys().length()>0)
|
||||
{
|
||||
return true;//只执行一次
|
||||
}
|
||||
if(!QFileInfo::exists(loadDir)|!QFileInfo::exists(matchdDir))
|
||||
if(!QFileInfo::exists(loadDir)|!QFileInfo::exists(matchdDir)|!QFileInfo::exists(exceptionFile))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user