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
KDE PIM Runtime
Commits
88ad6264
Commit
88ad6264
authored
Sep 17, 2021
by
Jonathan Marten
Browse files
New mail notifier: Allow build without QtTextToSpeech
Made optional by commit
f7bac15b
pending a port to Qt6.
parent
d82a9c25
Pipeline
#81077
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agents/newmailnotifier/CMakeLists.txt
View file @
88ad6264
...
...
@@ -42,7 +42,6 @@ target_link_libraries( akonadi_newmailnotifier_agent
KF5::Notifications
KF5::Service
KF5::I18n
Qt::TextToSpeech
)
if
(
Qt5TextToSpeech_FOUND
)
...
...
agents/newmailnotifier/newmailnotifiersettingswidget.cpp
View file @
88ad6264
...
...
@@ -179,8 +179,8 @@ void NewMailNotifierSettingsWidget::load()
mExcludeMySelf
->
setChecked
(
settings
->
excludeEmailsFromMe
());
mAllowToShowMail
->
setChecked
(
settings
->
showButtonToDisplayMail
());
mKeepPersistentNotification
->
setChecked
(
settings
->
keepPersistentNotification
());
mTextToSpeak
->
setChecked
(
settings
->
textToSpeakEnabled
());
#if HAVE_TEXT_TO_SPEECH_SUPPORT
mTextToSpeak
->
setChecked
(
settings
->
textToSpeakEnabled
());
mTextToSpeakSetting
->
setEnabled
(
mTextToSpeak
->
isChecked
());
mTextToSpeakSetting
->
setText
(
settings
->
textToSpeak
());
#endif
...
...
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