Skip to content

Commit c38e6b3

Browse files
committed
Do not show icons and remove "Filter" from action names.
This removes redundancy.
1 parent 3438da2 commit c38e6b3

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/docks/filtersdock.cpp

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -229,33 +229,24 @@ void FiltersDock::setupActions()
229229
addAction(action);
230230
Actions.add("filtersRemoveFilterAction", action, windowTitle());
231231

232-
action = new QAction(tr("Copy Enabled Filters"), this);
232+
action = new QAction(tr("Copy Enabled"), this);
233233
action->setToolTip(tr("Copy checked filters to the clipboard"));
234-
icon = QIcon::fromTheme("edit-copy",
235-
QIcon(":/icons/oxygen/32x32/actions/edit-copy.png"));
236-
action->setIcon(icon);
237234
connect(action, &QAction::triggered, this, [ = ]() {
238235
QmlApplication::singleton().copyEnabledFilters();
239236
});
240237
addAction(action);
241238
Actions.add("filtersCopyFiltersAction", action, windowTitle());
242239

243-
action = new QAction(tr("Copy Current Filter"), this);
240+
action = new QAction(tr("Copy Current"), this);
244241
action->setToolTip(tr("Copy current filter to the clipboard"));
245-
icon = QIcon::fromTheme("edit-copy",
246-
QIcon(":/icons/oxygen/32x32/actions/edit-copy.png"));
247-
action->setIcon(icon);
248242
connect(action, &QAction::triggered, this, [ = ]() {
249243
QmlApplication::singleton().copyCurrentFilter();
250244
});
251245
addAction(action);
252246
Actions.add("filtersCopyCurrentFilterAction", action, windowTitle());
253247

254-
action = new QAction(tr("Copy All Filters"), this);
248+
action = new QAction(tr("Copy All"), this);
255249
action->setToolTip(tr("Copy all filters to the clipboard"));
256-
icon = QIcon::fromTheme("edit-copy",
257-
QIcon(":/icons/oxygen/32x32/actions/edit-copy.png"));
258-
action->setIcon(icon);
259250
connect(action, &QAction::triggered, this, [ = ]() {
260251
QmlApplication::singleton().copyAllFilters();
261252
});

0 commit comments

Comments
 (0)