summaryrefslogtreecommitdiff
path: root/src/downloadlistwidgetcompact.cpp
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-08-06 19:54:45 +0200
committerAl12rs <gabriel.cortesi@outlook.com>2018-08-06 19:54:45 +0200
commitf92027bea61593e22260d0c6296029c1acc4a306 (patch)
treebf5d7c810afaf845ad0ece1e1f60779b95696126 /src/downloadlistwidgetcompact.cpp
parenta31b5495b89a13efb8cad0cf56fc585378e04cba (diff)
parent2af99f2170a4725973673bd59bc22fe7f35df7ee (diff)
Merge PR
Diffstat (limited to 'src/downloadlistwidgetcompact.cpp')
-rw-r--r--src/downloadlistwidgetcompact.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/downloadlistwidgetcompact.cpp b/src/downloadlistwidgetcompact.cpp
index 663a224e..710ecadc 100644
--- a/src/downloadlistwidgetcompact.cpp
+++ b/src/downloadlistwidgetcompact.cpp
@@ -247,6 +247,11 @@ void DownloadListWidgetCompactDelegate::issueVisitOnNexus()
emit visitOnNexus(m_ContextIndex.row());
}
+void DownloadListWidgetDelegate::issueOpenFile()
+{
+ emit openFile(m_ContextIndex.row());
+}
+
void DownloadListWidgetCompactDelegate::issueOpenInDownloadsFolder()
{
emit openInDownloadsFolder(m_ContextIndex.row());
@@ -361,6 +366,7 @@ bool DownloadListWidgetCompactDelegate::editorEvent(QEvent *event, QAbstractItem
}else {
menu.addAction(tr("Visit on Nexus"), this, SLOT(issueVisitOnNexus()));
}
+ menu.addAction(tr("Open File"), this, SLOT(issueOpenFile()));
menu.addAction(tr("Show in Folder"), this, SLOT(issueOpenInDownloadsFolder()));
menu.addSeparator();
menu.addAction(tr("Delete"), this, SLOT(issueDelete()));