US shale producer QEP Resources has returned to profit in the second quarter of the year, after selling off non-core assets. The company reported net income of $48.8 million for the second quarter, compared with a