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

Reply via email to