Skip to content

Commit

Permalink
Actions: remove unused getActionTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba160 committed Jun 16, 2024
1 parent 397cf81 commit 6e3c309
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions dbapi/Actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,6 @@ QStringList Actions::getActions() {
return actions;
}

QString Actions::getActionTitle(QString action_id) {
DBAction *action = getAction(action_id);
if (action) {
return action->title;
}
return QString();
}

QHash<QString, QVariant> Actions::getActionContext(QString action_id, PlayItemIterator &context) {
DBAction *action = getAction(action_id);
if (action) {
Expand Down
1 change: 0 additions & 1 deletion dbapi/Actions.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public slots:

DBAction* getAction(QString action_id);
QStringList getActions();
QString getActionTitle(QString action_id);
QHash<QString, QVariant> getActionContext(QString id, PlayItemIterator &context);
bool execAction(QString action, PlayItemIterator context = PlayItemIterator(false));

Expand Down

0 comments on commit 6e3c309

Please sign in to comment.