Merge "Determine the dataspace of the screenshot buffer based on display color mode." into qt-dev