fix Warning

This commit is contained in:
berrux-dev committed 2026-10-03 09:20:13 +02:00
1 parent 593c221d23
commit 8345470273
316 files changed
+1246 -929

No files matched your search

@@ -139,7 +139,7 @@ void MainWindow::readFiles()
QByteArray ar = file.read(150);
file.close();
if (ar.count() > 36)
if (ar.size() > 36)
{
QString issi = getISSI(ar);
QByteArray bytes = ar;
@@ -278,7 +278,7 @@ QString MainWindow::getISSI(QByteArray ar)
ar.remove(4, 200);
QByteArray issi = ar.toHex();
if (ar.count() == 4)
if (ar.size() == 4)
{
if (ar[2] == '\0' && ar[3] == '\0')
{
@@ -421,7 +421,7 @@ void MainWindow::writeLogZeiten(const QDateTime &beginn, const QDateTime &end, c
msg += end.toString(QLatin1String("hh:mm:ss"));
msg += QLatin1Char('\n');
QFile file(m_logZeiten);
file.open(QIODevice::Append | QIODevice::Text);
(void)file.open(QIODevice::Append | QIODevice::Text);
file.write(msg.toUtf8());
file.close();