diff options
| author | Brian Munro <brian.alexander.munro@gmail.com> | 2018-08-21 12:23:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-21 12:23:47 +0200 |
| commit | 364289db72ca452e7af56dbf6ff43d0573656e57 (patch) | |
| tree | 176e8c349fffe87996fbe4708937bc4bd587c86b /src/downloadlistwidgetcompact.cpp | |
| parent | 7b1821a5189f0187ea776c150f29e3bd7446724a (diff) | |
| parent | ef771fd8ca262a136c95c5141bb0de95712d14c2 (diff) | |
Merge pull request #495 from Modorganizer2/Develop
Release 2.1.5
Diffstat (limited to 'src/downloadlistwidgetcompact.cpp')
| -rw-r--r-- | src/downloadlistwidgetcompact.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/downloadlistwidgetcompact.cpp b/src/downloadlistwidgetcompact.cpp index 663a224e..fcf93754 100644 --- a/src/downloadlistwidgetcompact.cpp +++ b/src/downloadlistwidgetcompact.cpp @@ -247,6 +247,11 @@ void DownloadListWidgetCompactDelegate::issueVisitOnNexus() emit visitOnNexus(m_ContextIndex.row());
}
+void DownloadListWidgetCompactDelegate::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()));
|
