D10804: Show "Empty trash" button inside trash directory

Nathaniel Graham noreply at phabricator.kde.org
Sat Feb 24 22:52:57 GMT 2018


ngraham added inline comments.

INLINE COMMENTS

> dolphinviewcontainer.cpp:195
>              m_filterBar, &FilterBar::slotUrlChanged);
> +    connect(m_view, &DolphinView::urlChanged, [this](const QUrl &url){
> +                if (url.scheme() == QLatin1String("trash"))

This syntax is a little unusual. Can you create a separate function that can be connected here rather than defining it inline?

REPOSITORY
  R318 Dolphin

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

To: rominf, #dolphin, #kde_applications, ngraham
Cc: 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/20180224/1d25dab9/attachment.htm>


More information about the kfm-devel mailing list