diff --git a/src/imageformats/xcf.cpp b/src/imageformats/xcf.cpp --- a/src/imageformats/xcf.cpp +++ b/src/imageformats/xcf.cpp @@ -414,6 +414,7 @@ break; case PROP_RESOLUTION: + property.setFloatingPointPrecision(QDataStream::SinglePrecision); property >> xcf_image.x_resolution >> xcf_image.y_resolution; break;