diff --git a/guh-control/jsonrpc/jsonrpcclient.cpp b/guh-control/jsonrpc/jsonrpcclient.cpp index 183faa3c..c94df1f9 100644 --- a/guh-control/jsonrpc/jsonrpcclient.cpp +++ b/guh-control/jsonrpc/jsonrpcclient.cpp @@ -158,7 +158,7 @@ void JsonRpcClient::sendRequest(const QVariantMap &request) { QVariantMap newRequest = request; newRequest.insert("token", m_token); - qDebug() << "Sending request" << QJsonDocument::fromVariant(newRequest).toJson(); +// qDebug() << "Sending request" << QJsonDocument::fromVariant(newRequest).toJson(); m_connection->sendData(QJsonDocument::fromVariant(newRequest).toJson()); } diff --git a/guh-control/models/valuelogsproxymodel.cpp b/guh-control/models/valuelogsproxymodel.cpp index cd965f71..17cc5812 100644 --- a/guh-control/models/valuelogsproxymodel.cpp +++ b/guh-control/models/valuelogsproxymodel.cpp @@ -123,7 +123,7 @@ void ValueLogsProxyModel::logsReply(const QVariantMap &data) if (m_maximumValue.isNull() || entry->value() > m_maximumValue) { m_maximumValue = qRound(entry->value().toDouble()); } - qDebug() << "filling slot" << i << "average:" << avg << entry->timestamp().toString() << "min:" << m_minimumValue << "max:" << m_maximumValue; +// qDebug() << "filling slot" << i << "average:" << avg << entry->timestamp().toString() << "min:" << m_minimumValue << "max:" << m_maximumValue; } diff --git a/guh-control/ui/components/Graph.qml b/guh-control/ui/components/Graph.qml index 43ae7566..ba665d6c 100644 --- a/guh-control/ui/components/Graph.qml +++ b/guh-control/ui/components/Graph.qml @@ -44,7 +44,6 @@ Item { return 0 } - print("upper", upper, "lower", lower) while ((upper - lower) % 10 != 0) { lower -= 1; if ((upper - lower) % 10 != 0) { @@ -91,10 +90,6 @@ Item { property real pps: contentHeight / sections; onPaint: { - - print("painting canvas", totalSections, sections) - var minTemp - var ctx = canvas.getContext('2d'); ctx.save(); diff --git a/guh-control/ui/customviews/WeatherView.qml b/guh-control/ui/customviews/WeatherView.qml index c9dda3b4..d92b089a 100644 --- a/guh-control/ui/customviews/WeatherView.qml +++ b/guh-control/ui/customviews/WeatherView.qml @@ -41,13 +41,11 @@ CustomViewBase { horizontalAlignment: Text.AlignHCenter } - Image { + ColorIcon { id: mainImage - // h : w = ss.h : ss.w - Layout.preferredWidth: height * implicitWidth / implicitHeight + Layout.preferredWidth: app.largeFont * 4 Layout.preferredHeight: app.largeFont * 4 - source: weatherConditionState ? "../images/weathericons/weather-" + weatherConditionState.value + ".svg" : "" - sourceSize.height: height + name: weatherConditionState ? "../images/weathericons/weather-" + weatherConditionState.value + ".svg" : "" } ColumnLayout { Layout.fillWidth: true diff --git a/guh-control/ui/devicelistpages/GenericDeviceListPage.qml b/guh-control/ui/devicelistpages/GenericDeviceListPage.qml index ddf5901a..e699a275 100644 --- a/guh-control/ui/devicelistpages/GenericDeviceListPage.qml +++ b/guh-control/ui/devicelistpages/GenericDeviceListPage.qml @@ -31,7 +31,6 @@ Page { function enterPage(index, replace) { var device = devicesProxy.get(index); var deviceClass = Engine.deviceManager.deviceClasses.getDeviceClass(device.deviceClassId); - print("clicked", deviceClass.interfaces) var page; /* if (deviceClass.interfaces.indexOf("media") >= 0) { page = "MediaDevicePage.qml";