Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAlarm
Commits
c1cb7f7a
Commit
c1cb7f7a
authored
Oct 21, 2020
by
David Jarvie
Browse files
Show correct list of sound options if text-to-speech not available
parent
27bcf885
Pipeline
#38350
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/editdlgtypes.cpp
View file @
c1cb7f7a
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment