починил нейроконструктор, исправил распознавание сообщений из чата

This commit is contained in:
2026-02-08 17:29:49 +03:00
parent 451ddd9ae0
commit cbb875f3f8
15 changed files with 531 additions and 223 deletions
-18
View File
@@ -162,22 +162,4 @@ QString FileManager::getWebPath(FileType type, const QString& fileName) const
return QString("/%1/%2").arg(folder).arg(fileName);
}
void FileManager::copyDefaultFiles()
{
// Копируем системные стили в пользовательскую папку при первом запуске
QString systemStylesPath = getPath(SystemStyles);
QDir systemStylesDir(systemStylesPath);
if (systemStylesDir.exists()) {
QStringList qssFiles = systemStylesDir.entryList(QStringList() << "*.qss" << "*.QSS", QDir::Files);
for (const QString& file : qssFiles) {
QString sourcePath = systemStylesDir.absoluteFilePath(file);
QString destPath = getFullPath(Styles, file);
if (!QFile::exists(destPath)) {
QFile::copy(sourcePath, destPath);
}
}
}
}