summaryrefslogtreecommitdiff
path: root/src/downloadlistwidget.cpp
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2018-08-21 12:23:47 +0200
committerGitHub <noreply@github.com>2018-08-21 12:23:47 +0200
commit364289db72ca452e7af56dbf6ff43d0573656e57 (patch)
tree176e8c349fffe87996fbe4708937bc4bd587c86b /src/downloadlistwidget.cpp
parent7b1821a5189f0187ea776c150f29e3bd7446724a (diff)
parentef771fd8ca262a136c95c5141bb0de95712d14c2 (diff)
Merge pull request #495 from Modorganizer2/Develop
Release 2.1.5
Diffstat (limited to 'src/downloadlistwidget.cpp')
-rw-r--r--src/downloadlistwidget.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/downloadlistwidget.cpp b/src/downloadlistwidget.cpp
index ad694107..34a90534 100644
--- a/src/downloadlistwidget.cpp
+++ b/src/downloadlistwidget.cpp
@@ -272,6 +272,11 @@ void DownloadListWidgetDelegate::issueVisitOnNexus()
emit visitOnNexus(m_ContextRow);
}
+void DownloadListWidgetDelegate::issueOpenFile()
+{
+ emit openFile(m_ContextRow);
+}
+
void DownloadListWidgetDelegate::issueOpenInDownloadsFolder()
{
emit openInDownloadsFolder(m_ContextRow);
@@ -375,6 +380,7 @@ bool DownloadListWidgetDelegate::editorEvent(QEvent *event, QAbstractItemModel *
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();