diff options
author | Fawzi Mohamed <fawzi.mohamed@digia.com> | 2014-09-02 14:22:44 +0200 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@digia.com> | 2014-09-03 11:22:42 +0200 |
commit | fd8217473be28dc714e0172420b32949d7e6b037 (patch) | |
tree | 86f8bc5abf3d6e7e5ff303124ae50a6ca7492c2a /examples/positioning/weatherinfo/main.cpp | |
parent | 053d10d6b4e226b2b1a4ddd5df1e462d656fb74d (diff) |
weatherinfo: improve update behavior of weatherinfo example5.3
Ensure that new data will get processed, and that error can be
recovered, while avoiding an excessive load on the server.
Change-Id: I1c3a0b17eb0cc31553013e953d7dcf46060daef1
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples/positioning/weatherinfo/main.cpp')
-rw-r--r-- | examples/positioning/weatherinfo/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/positioning/weatherinfo/main.cpp b/examples/positioning/weatherinfo/main.cpp index 6afcf1c4..95303934 100644 --- a/examples/positioning/weatherinfo/main.cpp +++ b/examples/positioning/weatherinfo/main.cpp @@ -43,12 +43,14 @@ #include <QtQml/QQmlEngine> #include <QtQml/QQmlContext> #include <QtQuick/QQuickItem> +#include <QLoggingCategory> //! [0] #include "appmodel.h" int main(int argc, char *argv[]) { + QLoggingCategory::setFilterRules("wapp.*.debug=false"); QGuiApplication application(argc, argv); qmlRegisterType<WeatherData>("WeatherInfo", 1, 0, "WeatherData"); |