void SessionInformationDialog::on_horizontalSliderPhrase_valueChanged (const int p_value) { Phrase* phrase = m_session->corpus()->phraseAt (p_value); m_ui->btnPlayPhrase->setEnabled (phrase->recorded()); m_ui->lblPhraseText->setText (phrase->text()); }