Skip to content
Commit 86016783 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

DiffWidget: Use fileName to get syntax definition

Using mimeType can give bad results in some situations. E.g., mimetype
for a .ts file will be qt-linguist, but the file can be a typescript
file and thus KSH will fail to give the correct definition. Using
the file extension can give better results.

(cherry picked from commit b22716a0)
parent f946b720
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