ImageView: Remove hard dependency on QtSvg headers

Change-Id: I2c8aa3017a95b36b3d96687f2da03eb2ef558222
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
hjk
2016-03-21 12:19:49 +01:00
parent 5cbfe68ae5
commit a3b2809417

View File

@@ -58,9 +58,6 @@
#include <utils/fileutils.h>
#include <utils/qtcassert.h>
#include <QSvgRenderer>
#include <QGraphicsSvgItem>
#include <QMessageBox>
#include <QGraphicsRectItem>
@@ -75,6 +72,11 @@
#include <qmath.h>
#ifndef QT_NO_SVG
#include <QGraphicsSvgItem>
#include <QSvgRenderer>
#endif
namespace ImageViewer {
namespace Constants {
const qreal DEFAULT_SCALE_FACTOR = 1.2;