Commit c1cb7f7a authored by David Jarvie's avatar David Jarvie
Browse files

Show correct list of sound options if text-to-speech not available

parent 27bcf885
Pipeline #38350 canceled with stage
......@@ -374,6 +374,7 @@ void EditDisplayAlarmDlg::type_initValues(const KAEvent* event)
mSoundPicker->set(Preferences::defaultSoundType(), Preferences::defaultSoundFile(),
Preferences::defaultSoundVolume(), -1, 0, (Preferences::defaultSoundRepeat() ? 0 : -1));
}
slotDisplayMethodChanged(mDisplayMethodCombo->currentIndex());
}
/******************************************************************************
......@@ -1786,7 +1787,7 @@ void EditAudioAlarmDlg::type_executedTry(const QString&, void* result)
if (mMessageWindow)
{
slotAudioPlaying(true);
connect(mMessageWindow, &MessageWindow::destroyed, this, &EditAudioAlarmDlg::audioWinDestroyed);
connect(mMessageWindow, &QObject::destroyed, this, &EditAudioAlarmDlg::audioWinDestroyed);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment