Переместил две ф-и в Tools

This commit is contained in:
2025-07-03 09:55:35 +03:00
parent c46ae86791
commit a36dfe35fb
4 changed files with 24 additions and 25 deletions

View File

@@ -91,4 +91,22 @@ QString Tools::createFolderPath(QString path)
return folderPath;
}
QString Tools::createFullPath(QString path)
{
QString fullPath;
qint8 pos = path.indexOf("Application");
QString localPath = path.remove(0,--pos);
//qDebug() << "CLIENT: localPath" << localPath;
fullPath = QDir::currentPath() + localPath;
return fullPath;
}
bool Tools::checkNonStaticData(QString path)
{
if(path.contains(sharedDataFolderName)) return true;
return false;
}