The parameter should probably be "const QUrl& dataURL".