From ab2a444c846e0bfb278edf3bfe59b539c5ff88a6 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Thu, 24 Sep 2015 00:05:09 +0300 Subject: [PATCH] auxiliary commit * drop unnecessary includes * bump API versions inside version.h --- sources/awesomewidgets/extscript.h | 1 - sources/awesomewidgets/extweather.cpp | 2 +- sources/awesomewidgets/extweather.h | 1 - sources/awesomewidgets/scripts/get-external-ip.desktop | 3 +-- sources/version.h.in | 7 +++---- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/sources/awesomewidgets/extscript.h b/sources/awesomewidgets/extscript.h index ea6bfce..66ac5fb 100644 --- a/sources/awesomewidgets/extscript.h +++ b/sources/awesomewidgets/extscript.h @@ -18,7 +18,6 @@ #ifndef EXTSCRIPT_H #define EXTSCRIPT_H -#include #include #include "abstractextitem.h" diff --git a/sources/awesomewidgets/extweather.cpp b/sources/awesomewidgets/extweather.cpp index 8bcac13..e330d36 100644 --- a/sources/awesomewidgets/extweather.cpp +++ b/sources/awesomewidgets/extweather.cpp @@ -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; } diff --git a/sources/awesomewidgets/extweather.h b/sources/awesomewidgets/extweather.h index 35bd888..38ab7d7 100644 --- a/sources/awesomewidgets/extweather.h +++ b/sources/awesomewidgets/extweather.h @@ -18,7 +18,6 @@ #ifndef EXTWEATHER_H #define EXTWEATHER_H -#include #include #include "abstractextitem.h" diff --git a/sources/awesomewidgets/scripts/get-external-ip.desktop b/sources/awesomewidgets/scripts/get-external-ip.desktop index 6ae49c6..66f274c 100644 --- a/sources/awesomewidgets/scripts/get-external-ip.desktop +++ b/sources/awesomewidgets/scripts/get-external-ip.desktop @@ -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= diff --git a/sources/version.h.in b/sources/version.h.in index 710b56c..6d94491 100644 --- a/sources/version.h.in +++ b/sources/version.h.in @@ -12,11 +12,11 @@ // configuraion // graphical items api version -#define AWGIAPI 2 +#define AWGIAPI 3 // extquotes api version -#define AWEQAPI 2 +#define AWEQAPI 3 // extscript api version -#define AWESAPI 3 +#define AWESAPI 4 // extupgrade api version #define AWEUAPI 3 // extweather api version @@ -43,6 +43,5 @@ #define CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@" #define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@" #define BUILD_PLASMOIDS "@BUILD_PLASMOIDS@" -#define QUEUE_LIMIT @QUEUE_LIMIT@ #endif /* VERSION_H */