Improve performance with image generation

To avoid pen creation on each update class properties is used.
This commit is contained in:
2016-03-24 15:53:07 +03:00
parent 88f0ebfe96
commit 7e42c8cb49
3 changed files with 38 additions and 54 deletions

View File

@ -299,8 +299,8 @@ void ExtWeather::writeConfiguration() const
void ExtWeather::weatherReplyReceived(QNetworkReply *reply)
{
qCDebug(LOG_LIB) << "Return code" << reply->error() << "with messa";
qCDebug(LOG_LIB) << "Reply error message" << reply->errorString();
qCDebug(LOG_LIB) << "Return code" << reply->error() << "with message"
<< reply->errorString();
isRunning = false;
QJsonParseError error;