Fix warnings

This commit is contained in:
WarmUpTill
2023-09-21 23:18:35 +02:00
committed by WarmUpTill
parent b1489d98f0
commit ac6140b17a
8 changed files with 11 additions and 10 deletions

View File

@@ -119,7 +119,7 @@ void SwitcherData::writeToStatusFile(const QString &msg)
if (file.open(QIODevice::ReadWrite)) {
QTextStream stream(&file);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
stream << msg << endl;
stream << msg << "\n";
#else
stream << msg << Qt::endl;
#endif