diff options
author | ronso0 <ronso0@mixxx.org> | 2019-11-01 20:01:29 +0100 |
---|---|---|
committer | ronso0 <ronso0@mixxx.org> | 2019-11-01 20:01:29 +0100 |
commit | 35609127cd4ac6bb79ed2b52f4f8d0c6e7dc31ca (patch) | |
tree | 876b47b69bbfc17cc8e79290afec6f9986b07bde /src/library/browse/browsefeature.cpp | |
parent | 69d3fdb3177322181dd4236dcc59338d12b1ea3e (diff) |
add action to Computer menu that allows to remove paths from Quick Links
Diffstat (limited to 'src/library/browse/browsefeature.cpp')
-rw-r--r-- | src/library/browse/browsefeature.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/library/browse/browsefeature.cpp b/src/library/browse/browsefeature.cpp index e2a3deef75..f7632e60f7 100644 --- a/src/library/browse/browsefeature.cpp +++ b/src/library/browse/browsefeature.cpp @@ -285,7 +285,12 @@ void BrowseFeature::onRightClickChild(const QPoint& globalPos, QModelIndex index foreach (const QString& str, m_quickLinkList) { if (str == path) { - return; + // if path is a QuickLink: + // show remove action + menu.addAction(m_pRemoveQuickLinkAction); + menu.exec(globalPos); + onLazyChildExpandation(index); + return; } } |