Commit a9164a6b authored by Nate Graham's avatar Nate Graham 🔩

[kcms/kfontinst] Reformat an awkward condition

parent 43c5ea39
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment