Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joao Oliveira
Okular
Commits
d473477a
Commit
d473477a
authored
Apr 19, 2011
by
David Faure
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Look up kttsd.desktop correctly.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1228495
parent
ebb5118a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
part.cpp
part.cpp
+2
-2
No files found.
part.cpp
View file @
d473477a
...
...
@@ -615,8 +615,8 @@ m_cliPresentation(false), m_embedMode(detectEmbedMode(parentWidget, parent, args
slotNewConfig
();
// [SPEECH] check for KTTSD presence and usability
KService
::
List
offers
=
KServiceTypeTrader
::
self
()
->
query
(
"DBUS/Text-to-Speech"
,
"Name == 'KTTSD'
"
);
Okular
::
Settings
::
setUseKTTSD
(
!
offers
.
isEmpty
()
);
const
KService
::
Ptr
kttsd
=
KService
::
serviceByDesktopName
(
"kttsd
"
);
Okular
::
Settings
::
setUseKTTSD
(
kttsd
);
Okular
::
Settings
::
self
()
->
writeConfig
();
rebuildBookmarkMenu
(
false
);
...
...
Write
Preview
Markdown
is supported
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