iliakats created this revision. Herald added projects: Dolphin, Frameworks. Herald added subscribers: kfm-devel, kde-frameworks-devel. iliakats requested review of this revision.
REVISION SUMMARY When using a dark theme, plain text files without an associated highlighting theme are rendered in white on a white background (see also bugs 409380 and 406821). This patch forces a re-highlighting of the preview after the theme is set and before it is drawn into the preview area. TEST PLAN opened dolphin, checked several text files for correct preview colors REPOSITORY R320 KIO Extras REVISION DETAIL https://phabricator.kde.org/D25891 AFFECTED FILES thumbnail/textcreator.cpp To: iliakats Cc: kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov