summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxscalegrid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxscalegrid.cpp')
-rw-r--r--src/declarative/fx/qfxscalegrid.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxscalegrid.cpp b/src/declarative/fx/qfxscalegrid.cpp
index 198ac6d..da3b4a3 100644
--- a/src/declarative/fx/qfxscalegrid.cpp
+++ b/src/declarative/fx/qfxscalegrid.cpp
@@ -41,6 +41,7 @@
#include <QBuffer>
#include <qml.h>
+#include <QDebug>
#include "qfxscalegrid_p.h"
@@ -210,6 +211,9 @@ QFxScaleGrid::TileRule QFxGridScaledImage::stringToRule(const QString &s) const
return QFxScaleGrid::Repeat;
if (s == QLatin1String("Round"))
return QFxScaleGrid::Round;
+
+ qWarning() << "Unknown tile rule specified. Using Stretch";
+ return QFxScaleGrid::Stretch;
}
bool QFxGridScaledImage::isValid() const