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
Plasma
Plasma Workspace
Commits
a9164a6b
Commit
a9164a6b
authored
Jan 03, 2021
by
Nate Graham
Browse files
[kcms/kfontinst] Reformat an awkward condition
parent
43c5ea39
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/kfontinst/lib/Misc.cpp
View file @
a9164a6b
...
...
@@ -289,9 +289,12 @@ int getIntQueryVal(const QUrl &url, const char *key, int defVal)
bool
printable
(
const
QString
&
mime
)
{
return
"font/otf"
==
mime
||
"font/ttf"
==
mime
||
"application/x-font-type1"
==
mime
||
"application/x-font-ttf"
==
mime
||
"application/x-font-otf"
==
mime
||
"application/x-font-type1"
==
mime
;
return
mime
==
"font/otf"
||
mime
==
"font/ttf"
||
mime
==
"application/x-font-type1"
||
mime
==
"application/x-font-ttf"
||
mime
==
"application/x-font-otf"
||
mime
==
"application/x-font-type1"
;
}
uint
qHash
(
const
KFI
::
Misc
::
TFont
&
key
)
...
...
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