QR code feature beta and streamer mode

This commit is contained in:
dsc
2021-04-14 22:00:25 +02:00
parent 5bb95053fb
commit 13331ee5e7
29 changed files with 1143 additions and 31 deletions
+6
View File
@@ -42,6 +42,12 @@ QByteArray Utils::fileOpen(const QString &path) {
return data;
}
qint64 Utils::fileModifiedAge(const QString &path) {
QFileInfo fileInfo;
fileInfo.setFile(path);
return (QDateTime::currentSecsSinceEpoch() - fileInfo.lastModified().toSecsSinceEpoch());
}
QByteArray Utils::fileOpenQRC(const QString &path) {
QFile file(path);
if(!file.open(QIODevice::ReadOnly)) {