[Folder View] Show pin icon only if really in a popup
When placed in a wide panel, Folder View would reveal its contents but the pin icon was still there.
Differential Revision: https://phabricator.kde.org/D5204