Fixed a bug when configure QNetworkReply