]> cloud.milkyroute.net Git - dolphin.git/commit
PreviewSettingsPage: update JPG preview plugin settings if needed
authorFrank Reininghaus <frank78ac@googlemail.com>
Sun, 10 Jul 2011 13:33:16 +0000 (15:33 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Sun, 10 Jul 2011 13:43:55 +0000 (15:43 +0200)
commitf19ad8ee414cb7f1e3a6864820c24a6243ef41f5
tree505c77a50058ce3ce387a2ea5b04d0d344b765ca
parent61da3d924cecdbea4efa4fc70e461e5273fd5b08
PreviewSettingsPage: update JPG preview plugin settings if needed

In KDE <= 4.6, the 'jpegrotatedthumbnail' plugin was used to provide
thumbnails for JPG images which are rotated correctly. In KDE 4.7, this
is done by the usual 'jpegthumbnail' plugin if it is configured
accordingly. The update of the settings is done in KFilePreviewGenerator.
However, if Konqueror is run in web browsing mode and the settings dialog
is opened, KFilePreviewGenerator does not have a chance to do the update.
To make sure that the correct plugins are shown in the settings, this
commit adds a plugin update to PreviewSettingsPage.

The old code that just removed the 'jpegrotatedthumbnail' plugin without
enabling the 'jpegthumbnail' plugin is removed.

CCBUG:277251
(cherry picked from commit 626fb3cf58dc12d4a8d219c12e7663881a1246e7)
src/settings/general/previewssettingspage.cpp