From f876710228dba3d8e35056c5e2d167f7b7a3dc9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dennis=20Nienh=C3=BCser?= Date: Sun, 4 Dec 2011 12:02:07 +0100 Subject: [PATCH] Don't skip texture layers without base tiles, try downloading them. --- packaging/debian/patches/download-basetiles.diff | 18 ++++++++++++++++++ packaging/debian/patches/series | 1 + 2 files changed, 19 insertions(+) create mode 100644 packaging/debian/patches/download-basetiles.diff diff --git a/packaging/debian/patches/download-basetiles.diff b/packaging/debian/patches/download-basetiles.diff new file mode 100644 index 0000000..5e298ec --- /dev/null +++ b/packaging/debian/patches/download-basetiles.diff @@ -0,0 +1,18 @@ +Index: src-fremantle/src/lib/MarbleMap.cpp +=================================================================== +--- src-fremantle.orig/src/lib/MarbleMap.cpp 2011-12-04 10:51:08.000000000 +0100 ++++ src-fremantle/src/lib/MarbleMap.cpp 2011-12-04 10:51:31.000000000 +0100 +@@ -870,10 +870,9 @@ + delete tileCreatorDlg; + } + +- if ( TileLoader::baseTilesAvailable( *texture ) ) { +- textures.append( texture ); +- } else { +- qWarning() << "Base tiles for" << sourceDir << "not available. Skipping."; ++ textures.append( texture ); ++ if ( !TileLoader::baseTilesAvailable( *texture ) ) { ++ qWarning() << "Base tiles for" << sourceDir << "not available."; + } + } + } diff --git a/packaging/debian/patches/series b/packaging/debian/patches/series index 66b8c70..c1ddfc9 100644 --- a/packaging/debian/patches/series +++ b/packaging/debian/patches/series @@ -3,3 +3,4 @@ maemo-startup-files.diff install-lang-files.diff newstuff-mapthemes.diff migration-warning.diff +download-basetiles.diff -- 1.7.9.5