D12321: Hide file preview when icon is too small

Nathaniel Graham noreply at phabricator.kde.org
Thu Apr 19 14:09:28 UTC 2018


ngraham added a comment.


  Very nice! I agree with @sharvey: very classy.

INLINE COMMENTS

> kdiroperator.cpp:2165
>      if (d->inlinePreviewState == Private::NotForced) {
> -        d->showPreviews = configGroup.readEntry(QStringLiteral("Previews"), false);
> +        d->showPreviews = configGroup.readEntry(QStringLiteral("Preview Thumbnails"), true);
> +        d->showPreviewsEnabledBeforeZoom = d->showPreviews;

Unintentional changes from D12328 <https://phabricator.kde.org/D12328>

> kdiroperator.cpp:2230
>      if (d->inlinePreviewState == Private::NotForced) {
> -        configGroup.writeEntry(QStringLiteral("Previews"), d->showPreviews);
> +        configGroup.writeEntry(QStringLiteral("Preview Thumbnails"), d->showPreviews);
>          if (qobject_cast<QListView *>(d->itemView)) {

Unintentional changes from D12328 <https://phabricator.kde.org/D12328>

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D12321

To: anemeth, #vdg, #frameworks, ngraham, rkflx, #dolphin
Cc: sharvey, rkflx, ngraham, #frameworks, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180419/0dcb049c/attachment.html>


More information about the Kde-frameworks-devel mailing list