Merge "Skip restrictions if DownloadProvider itself is trying to add a download." into qt-dev