mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-04 01:15:52 +00:00
auxiliary commit
* drop unnecessary includes * bump API versions inside version.h
This commit is contained in:
@ -18,7 +18,6 @@
|
||||
#ifndef EXTSCRIPT_H
|
||||
#define EXTSCRIPT_H
|
||||
|
||||
#include <QMap>
|
||||
#include <QProcess>
|
||||
|
||||
#include "abstractextitem.h"
|
||||
|
@ -323,7 +323,7 @@ void ExtWeather::weatherReplyReceived(QNetworkReply *reply)
|
||||
// convert to map
|
||||
QVariantMap json = jsonDoc.toVariant().toMap();
|
||||
if (json[QString("cod")].toInt() != 200) {
|
||||
qCWarning(LOG_LIB) << "Invalid return code";
|
||||
qCWarning(LOG_LIB) << "Invalid OpenWeatherMap return code" << json[QString("cod")].toInt();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#ifndef EXTWEATHER_H
|
||||
#define EXTWEATHER_H
|
||||
|
||||
#include <QMap>
|
||||
#include <QNetworkReply>
|
||||
|
||||
#include "abstractextitem.h"
|
||||
|
@ -5,9 +5,8 @@ Comment=Custom command to get external IP
|
||||
Exec=curl ip4.telize.com
|
||||
X-AW-Prefix=
|
||||
X-AW-Active=false
|
||||
X-AW-Output=true
|
||||
X-AW-Redirect=nothing
|
||||
X-AW-Interval=1
|
||||
X-AW-ApiVersion=3
|
||||
X-AW-ApiVersion=4
|
||||
X-AW-Number=0
|
||||
X-AW-Filters=
|
||||
|
Reference in New Issue
Block a user