Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Joao Oliveira
Okular
Commits
90d10adf
Commit
90d10adf
authored
Oct 24, 2004
by
Laurent Montel
Browse files
=="" -> isEmpty()
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=357260
parent
e01387cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
kpdf/document.cpp
View file @
90d10adf
...
...
@@ -476,10 +476,10 @@ void KPDFDocument::slotProcessLink( const KPDFLink * link )
{
KMimeType
::
Ptr
mime
;
KService
::
Ptr
ptr
;
// the only pdf i have that has that kind of link don't define an application
// and use the fileName as the file to open
fileName
=
giveAbsolutePath
(
fileName
);
mime
=
KMimeType
::
findByPath
(
fileName
);
// Check executables
...
...
@@ -506,7 +506,7 @@ void KPDFDocument::slotProcessLink( const KPDFLink * link )
return
;
}
}
ptr
=
KServiceTypeProfile
::
preferredService
(
mime
->
name
(),
"Application"
);
if
(
ptr
)
{
...
...
@@ -612,7 +612,7 @@ void KPDFDocument::processPageList( bool documentChanged )
void
KPDFDocument
::
unHilightPages
()
{
if
(
d
->
filterText
==
""
)
if
(
d
->
filterText
.
isEmpty
()
)
return
;
d
->
filterText
=
""
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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