mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Merge branch 'Applications/18.04'
This commit is contained in:
commit
6e05c6365e
|
@ -90,7 +90,7 @@ DolphinViewContainer::DolphinViewContainer(const QUrl& url, QWidget* parent) :
|
|||
KUrlComboBox* editor = m_urlNavigator->editor();
|
||||
editor->setCompletionMode(KCompletion::CompletionMode(settings->urlCompletionMode()));
|
||||
|
||||
m_emptyTrashButton = new QPushButton(QIcon::fromTheme(QStringLiteral("user-trash")), "&Empty Trash", this);
|
||||
m_emptyTrashButton = new QPushButton(QIcon::fromTheme(QStringLiteral("user-trash")), i18nc("@action:button", "Empty Trash"), this);
|
||||
m_emptyTrashButton->setFlat(true);
|
||||
connect(m_emptyTrashButton, &QPushButton::clicked, this, [this]() { Trash::empty(this); });
|
||||
connect(&Trash::instance(), &Trash::emptinessChanged, m_emptyTrashButton, &QPushButton::setDisabled);
|
||||
|
|
Loading…
Reference in a new issue