Commit 3387b60c authored by Shubham  .'s avatar Shubham .
Browse files

Add tooltip to Empty Trash button inside Trash

parent 0d95f5e5
Pipeline #63998 passed with stage
in 5 minutes and 9 seconds
......@@ -233,6 +233,8 @@ QPushButton *DolphinNavigatorsWidgetAction::newEmptyTrashButton(const DolphinUrl
auto emptyTrashButton = new QPushButton(QIcon::fromTheme(QStringLiteral("user-trash")),
i18nc("@action:button", "Empty Trash"), parent);
emptyTrashButton->setToolTip(QLatin1String("Empties Trash to create free space"));
connect(emptyTrashButton, &QPushButton::clicked,
this, [parent]() { Trash::empty(parent); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment