diff options
Diffstat (limited to 'src/plugins/Ui/qsui')
| -rw-r--r-- | src/plugins/Ui/qsui/actionmanager.cpp | 3 | ||||
| -rw-r--r-- | src/plugins/Ui/qsui/actionmanager.h | 3 | ||||
| -rw-r--r-- | src/plugins/Ui/qsui/mainwindow.cpp | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/Ui/qsui/actionmanager.cpp b/src/plugins/Ui/qsui/actionmanager.cpp index 97d153206..2e63a0faa 100644 --- a/src/plugins/Ui/qsui/actionmanager.cpp +++ b/src/plugins/Ui/qsui/actionmanager.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010-2015 by Ilya Kotov * + * Copyright (C) 2010-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -79,6 +79,7 @@ ActionManager::ActionManager(QObject *parent) : m_actions[PL_REMOVE_INVALID] = createAction(tr("Remove unavailable files"), "remove_invalid", "", "dialog-error"); m_actions[PL_REMOVE_DUPLICATES] = createAction(tr("Remove duplicates"), "remove_duplicates", ""); + m_actions[PL_REFRESH] = createAction(tr("Refresh"), "refresh", "F5", "view-refresh"); m_actions[PL_ENQUEUE] = createAction(tr("&Queue Toggle"), "enqueue", tr("Q")); m_actions[PL_INVERT_SELECTION] = createAction(tr("Invert Selection"), "invert_selection", ""); m_actions[PL_CLEAR_SELECTION] = createAction(tr("&Select None"), "clear_selection", ""); diff --git a/src/plugins/Ui/qsui/actionmanager.h b/src/plugins/Ui/qsui/actionmanager.h index e863c5788..1a1980e41 100644 --- a/src/plugins/Ui/qsui/actionmanager.h +++ b/src/plugins/Ui/qsui/actionmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010-2015 by Ilya Kotov * + * Copyright (C) 2010-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -81,6 +81,7 @@ public: PL_REMOVE_UNSELECTED, PL_REMOVE_INVALID, PL_REMOVE_DUPLICATES, + PL_REFRESH, PL_ENQUEUE, PL_INVERT_SELECTION, PL_CLEAR_SELECTION, diff --git a/src/plugins/Ui/qsui/mainwindow.cpp b/src/plugins/Ui/qsui/mainwindow.cpp index b7c44e363..ab784f1af 100644 --- a/src/plugins/Ui/qsui/mainwindow.cpp +++ b/src/plugins/Ui/qsui/mainwindow.cpp @@ -473,6 +473,8 @@ void MainWindow::createActions() SLOT(removeInvalidTracks()))); m_ui.menuEdit->addAction(SET_ACTION(ActionManager::PL_REMOVE_DUPLICATES, m_pl_manager, SLOT(removeDuplicates()))); + m_ui.menuEdit->addAction(SET_ACTION(ActionManager::PL_REFRESH, m_pl_manager, + SLOT(refresh()))); m_ui.menuEdit->addSeparator(); //view menu m_ui.menuView->addAction(SET_ACTION(ActionManager::WM_ALLWAYS_ON_TOP, this, SLOT(readSettings()))); |
