fix(index):解决内容索引配置文件未自动生成的问题

This commit is contained in:
iaom 2024-01-26 11:51:07 +08:00
parent 59dcfebadf
commit 24dea3147e
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ FileIndexerConfig::FileIndexerConfig(QObject *parent)
qWarning() << UKUI_SEARCH_SCHEMAS << " is not found!"; qWarning() << UKUI_SEARCH_SCHEMAS << " is not found!";
} }
m_settings = new QSettings(INDEX_SETTINGS, QSettings::IniFormat, this); m_settings = new QSettings(INDEX_SETTINGS, QSettings::IniFormat, this);
sync();
} }
FileIndexerConfig::~FileIndexerConfig() FileIndexerConfig::~FileIndexerConfig()