mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
auxiliary commit
* drop unnecessary includes * bump API versions inside version.h
This commit is contained in:
parent
0fa274ad75
commit
ab2a444c84
@ -18,7 +18,6 @@
|
|||||||
#ifndef EXTSCRIPT_H
|
#ifndef EXTSCRIPT_H
|
||||||
#define EXTSCRIPT_H
|
#define EXTSCRIPT_H
|
||||||
|
|
||||||
#include <QMap>
|
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
|
|
||||||
#include "abstractextitem.h"
|
#include "abstractextitem.h"
|
||||||
|
@ -323,7 +323,7 @@ void ExtWeather::weatherReplyReceived(QNetworkReply *reply)
|
|||||||
// convert to map
|
// convert to map
|
||||||
QVariantMap json = jsonDoc.toVariant().toMap();
|
QVariantMap json = jsonDoc.toVariant().toMap();
|
||||||
if (json[QString("cod")].toInt() != 200) {
|
if (json[QString("cod")].toInt() != 200) {
|
||||||
qCWarning(LOG_LIB) << "Invalid return code";
|
qCWarning(LOG_LIB) << "Invalid OpenWeatherMap return code" << json[QString("cod")].toInt();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#ifndef EXTWEATHER_H
|
#ifndef EXTWEATHER_H
|
||||||
#define EXTWEATHER_H
|
#define EXTWEATHER_H
|
||||||
|
|
||||||
#include <QMap>
|
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
|
|
||||||
#include "abstractextitem.h"
|
#include "abstractextitem.h"
|
||||||
|
@ -5,9 +5,8 @@ Comment=Custom command to get external IP
|
|||||||
Exec=curl ip4.telize.com
|
Exec=curl ip4.telize.com
|
||||||
X-AW-Prefix=
|
X-AW-Prefix=
|
||||||
X-AW-Active=false
|
X-AW-Active=false
|
||||||
X-AW-Output=true
|
|
||||||
X-AW-Redirect=nothing
|
X-AW-Redirect=nothing
|
||||||
X-AW-Interval=1
|
X-AW-Interval=1
|
||||||
X-AW-ApiVersion=3
|
X-AW-ApiVersion=4
|
||||||
X-AW-Number=0
|
X-AW-Number=0
|
||||||
X-AW-Filters=
|
X-AW-Filters=
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
|
|
||||||
// configuraion
|
// configuraion
|
||||||
// graphical items api version
|
// graphical items api version
|
||||||
#define AWGIAPI 2
|
#define AWGIAPI 3
|
||||||
// extquotes api version
|
// extquotes api version
|
||||||
#define AWEQAPI 2
|
#define AWEQAPI 3
|
||||||
// extscript api version
|
// extscript api version
|
||||||
#define AWESAPI 3
|
#define AWESAPI 4
|
||||||
// extupgrade api version
|
// extupgrade api version
|
||||||
#define AWEUAPI 3
|
#define AWEUAPI 3
|
||||||
// extweather api version
|
// extweather api version
|
||||||
@ -43,6 +43,5 @@
|
|||||||
#define CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
#define CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
||||||
#define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
#define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
||||||
#define BUILD_PLASMOIDS "@BUILD_PLASMOIDS@"
|
#define BUILD_PLASMOIDS "@BUILD_PLASMOIDS@"
|
||||||
#define QUEUE_LIMIT @QUEUE_LIMIT@
|
|
||||||
|
|
||||||
#endif /* VERSION_H */
|
#endif /* VERSION_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user