Ultrashort-pulse (<50-fs) second-harmonic generation in quasi-phase-matched dispersive media is analyzed in the regime of weak conversion with phase mismatch, group-velocity mismatch, and linear absorption accounted for. In addition to the expected increase in conversion efficiency, the quasi-phase-matched structure is shown to counteract pulse distortions.