summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>2010-01-18 23:17:12 -0300
committerAnselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>2010-01-18 23:17:12 -0300
commitf3b18af0022fc0418ca8032ad6eb0ff1173901f8 (patch)
tree95dacc76f238e523536ce682d5ab95a4a28310c4
parentee8b27dd5e338c9fec94775a5409cf3c9caf7468 (diff)
Weather: Data from the Internet enabled, with that known bug though
By default we disabled retrieving data from the Internet due to a known bug, weather doesn't check for connection on Maemo, only on Symbian. It was enabled again and we expect we can solve it soon. Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
-rw-r--r--weather/debian/control1
-rw-r--r--weather/main.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/weather/debian/control b/weather/debian/control
index 8ad6845..ed1fb28 100644
--- a/weather/debian/control
+++ b/weather/debian/control
@@ -37,4 +37,5 @@ XB-Maemo-Icon-26:
xuw0/gYwltTXifH4n/yH+QPu7b91lhfMDQAAAABJRU5ErkJggg==
Description: Qt Mobile Demo: Weather
Weather demo is a demo application which allows you to check the weather around the world in a cute way.
+ Requires connection to the Internet.
Source code: http://qt.gitorious.org/qt-labs/mobile-demos
diff --git a/weather/main.cpp b/weather/main.cpp
index 2b9bcdf..b2681a9 100644
--- a/weather/main.cpp
+++ b/weather/main.cpp
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
#ifdef Q_OS_SYMBIAN
const bool connected = connect();
#else
- const bool connected = false;
+ const bool connected = true;
#endif
if (connected)