summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-06-28 07:55:12 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-06-28 07:55:12 +0000
commitbe80d9106cd40998253440a51381464fb1d9bd29 (patch)
tree03374c3105e3b4b84d3e1baf1d01abb4bf277a46 /navit
parent9cdb4058bdb1bcb5ebb2ff9054313ce258c298d5 (diff)
downloadnavit-be80d9106cd40998253440a51381464fb1d9bd29.tar.gz
Fix:graphics_qt_qpainter:Correct config flag handling
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3427 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit')
-rw-r--r--navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp b/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp
index ca3395c94..5eb562e79 100644
--- a/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp
+++ b/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp
@@ -84,7 +84,7 @@
#include <QPolygonF>
#include <QPixmapCache>
#include <QtGui>
-#if HAVE_QT_SVG
+#ifdef HAVE_QT_SVG
#include <QSvgRenderer>
#endif
@@ -648,7 +648,7 @@ static struct graphics_image_priv * image_new(struct graphics_priv *gr, struct g
cachedPixmap=QPixmapCache::find(key);
if (!cachedPixmap) {
-#if HAVE_QT_SVG
+#ifdef HAVE_QT_SVG
if(key.endsWith(".svg", Qt::CaseInsensitive)) {
QSvgRenderer renderer(key);
if (!renderer.isValid()) {