This commit is contained in:
acetone
2022-11-19 22:17:55 +03:00
parent 8c7ebc7738
commit 3a56b1e068
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ QString hash(const QByteArray &data)
return hash;
}
QString hash(QFile file)
QString hash(QFile&& file)
{
if (not file.open(QIODevice::ReadOnly))
{
+1 -1
View File
@@ -83,6 +83,6 @@ enum class GetValueType { // QString getValue()
QString getValue(const QString &string, const QString &key, GetValueType type = GetValueType::Default);
QString randomString(int length = 10);
QString hash(const QByteArray &data);
QString hash(QFile file);
QString hash(QFile&& file);
} // namespace g