Switch to unified view

a/GUI/ContextMenu.cpp b/GUI/ContextMenu.cpp
...
...
50
    delete _edit_action;
50
    delete _edit_action;
51
    delete _remove_action;
51
    delete _remove_action;
52
    delete _delete_action;
52
    delete _delete_action;
53
    delete _play_next_action;
53
    delete _play_next_action;
54
}
54
}
55
56
void ContextMenu::changeEvent(QEvent* e){
57
    if (e->type() == QEvent::LanguageChange) {
58
        _info_action->setText(tr("Info"));
59
        _edit_action->setText(tr("Edit"));
60
        _remove_action->setText(tr("Remove"));
61
        _delete_action->setText(tr("Delete"));
62
        _play_next_action->setText(tr("Play next"));
63
        return;
64
    }
65
66
    QMenu::changeEvent(e);
67
68
69
}
70
71
55
72
void ContextMenu::clear_actions(){
56
void ContextMenu::clear_actions(){
73
57
74
    QList<QAction*> actions = this->actions();
58
    QList<QAction*> actions = this->actions();
75
    if(actions.size() > 0){
59
    if(actions.size() > 0){