The efficacy of cognitive behavioral therapy for insomnia ( CBT-I ) has been suggested for insomnia concomitant with depression , but its impact on quality of life ( QoL ) has not been adequately evaluated .