D10804: Show "Empty Trash" button inside trash directory
Elvis Angelaccio
noreply at phabricator.kde.org
Thu Mar 15 21:40:32 GMT 2018
elvisangelaccio added inline comments.
INLINE COMMENTS
> dolphinviewcontainer.cpp:165-169
> + if (m_view->url().scheme() == QLatin1String("trash")) {
> + m_emptyTrashButton->show();
> + } else {
> + m_emptyTrashButton->hide();
> + }
How about `m_emptyTrashButton->setVisible(m_view->url().scheme() == QLatin1String("trash"))` ?
REPOSITORY
R318 Dolphin
REVISION DETAIL
https://phabricator.kde.org/D10804
To: rominf, ngraham, markg, elvisangelaccio
Cc: markg, emateli, broulik, elvisangelaccio, rkflx, mmustac, ngraham, #dolphin, spoorun, navarromorales, isidorov, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180315/2c35452e/attachment.htm>
More information about the kfm-devel
mailing list