diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-11-04 20:17:13 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-11-04 20:17:13 +0000 |
| commit | 40c82a8a1d3e65788451022249d984d3166c3aca (patch) | |
| tree | d6205444e71f1f103af8d8ddf13136602eebb6da /src/ui/shortcutitem.cpp | |
| parent | 1963054966e3a2514fb481c8159c09834a1a12fa (diff) | |
| download | qmmp-40c82a8a1d3e65788451022249d984d3166c3aca.tar.gz qmmp-40c82a8a1d3e65788451022249d984d3166c3aca.tar.bz2 qmmp-40c82a8a1d3e65788451022249d984d3166c3aca.zip | |
completed shortcut editor
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1980 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/shortcutitem.cpp')
| -rw-r--r-- | src/ui/shortcutitem.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/shortcutitem.cpp b/src/ui/shortcutitem.cpp index 546216fef..eb8baf164 100644 --- a/src/ui/shortcutitem.cpp +++ b/src/ui/shortcutitem.cpp @@ -27,8 +27,13 @@ ShortcutItem::ShortcutItem(QTreeWidgetItem *parent, int type) : QTreeWidgetItem( << ActionManager::instance()->action(type)->shortcut()) { m_action = ActionManager::instance()->action(type); + setIcon(0, m_action->icon()); } ShortcutItem::~ShortcutItem() {} +QAction *ShortcutItem::action() +{ + return m_action; +} |
