D12321: Hide file preview when icon is too small
Elvis Angelaccio
noreply at phabricator.kde.org
Sun Apr 29 18:22:37 BST 2018
elvisangelaccio added inline comments.
INLINE COMMENTS
> kdiroperator.cpp:2589
> +
> + KToggleAction *previewAction = static_cast<KToggleAction *>(actionCollection->action(QStringLiteral("inline preview")));
> + previewAction->setEnabled(iconSizeBigEnoughForPreview);
`qobject_cast`
> kdiroperator.cpp:2595
> + } else {
> + previewAction->setToolTip(i18n("Previews are automatically disabled for small icon sizes"));
> + }
Maybe we can also add an hint about how to actually show the previews? (i.e. the fact that the user needs to increase the icon size).
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D12321
To: anemeth, #vdg, #frameworks, ngraham, rkflx, #dolphin, markg
Cc: elvisangelaccio, markg, xyquadrat, sharvey, rkflx, ngraham, #frameworks, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180429/99f0c2d2/attachment.htm>
More information about the kfm-devel
mailing list