Use new folder-stash icon

Summary:
Resolves T7185

Use the new folder-stash icon introduced in https://cgit.kde.org/breeze-icons.git/commit/?id=b909a8008a7e3ffabb090bc82127ebb561f58597

Test Plan:
Tested in KDE Neon. Dolphin now uses the new icon is `kio-stash` is installed:

{F5482031}

Reviewers: elvisangelaccio, #dolphin

Reviewed By: elvisangelaccio, #dolphin

Subscribers: cfeck

Maniphest Tasks: T7185

Differential Revision: https://phabricator.kde.org/D8722
This commit is contained in:
Nathaniel Graham 2017-11-08 07:06:46 -07:00
parent f047b566cf
commit 0905b13dc4

View file

@ -1096,7 +1096,7 @@ void DolphinMainWindow::setupActions()
actionCollection()->setDefaultShortcut(stashSplit, Qt::CTRL | Qt::Key_S);
stashSplit->setText(i18nc("@action:intoolbar Stash", "Stash"));
stashSplit->setToolTip(i18nc("@info", "Opens the stash virtual directory in a split window"));
stashSplit->setIcon(QIcon::fromTheme(QStringLiteral("folder-visiting")));
stashSplit->setIcon(QIcon::fromTheme(QStringLiteral("folder-stash")));
stashSplit->setCheckable(false);
stashSplit->setVisible(KProtocolInfo::isKnownProtocol("stash"));
connect(stashSplit, &QAction::triggered, this, &DolphinMainWindow::toggleSplitStash);