From f988c671828ae64559924e21c8710cfcec880590 Mon Sep 17 00:00:00 2001
From: Spiros
Date: Tue, 4 Jun 2024 23:39:05 +0300
Subject: [PATCH] Fix comp issue
---
mainwindow.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 529cc54..88dc70a 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -408,7 +408,7 @@ void MainWindow::populateWindow(const QJsonObject &localObj, const QString &heal
if (temperatureInt > 0) {
temperatureValue->setText("
" + QString::number(temperatureInt) + " °C
");
} else {
- temperatureValue->setText("" + temperature + "
");
+ temperatureValue->setText("" + "-- °C" + "
");
}
temperatureValue->setAlignment(Qt::AlignCenter);