diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-08-21 01:27:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-21 01:27:50 -0400 |
| commit | a4043bab8cfa58e1bb8c2adcb686b7358932cdb6 (patch) | |
| tree | 4ae86580a64d484411c009759e9e7bfff1fcefb2 /src/downloadlistwidget.cpp | |
| parent | 9e3793c194c4e8570cb23470b931cfb9221ae2ec (diff) | |
| parent | 321b1facdcb6ddc0a1e2b4ce6cdf4cc9ebe6c18b (diff) | |
Merge pull request #1201 from erri120/open-meta
Open Meta file from downloads list
Diffstat (limited to 'src/downloadlistwidget.cpp')
| -rw-r--r-- | src/downloadlistwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/downloadlistwidget.cpp b/src/downloadlistwidget.cpp index 2fddd16f..1bb13779 100644 --- a/src/downloadlistwidget.cpp +++ b/src/downloadlistwidget.cpp @@ -221,6 +221,7 @@ void DownloadListWidget::onCustomContextMenu(const QPoint &point) else
menu.addAction(tr("Visit on Nexus"), this, SLOT(issueVisitOnNexus()));
menu.addAction(tr("Open File"), this, SLOT(issueOpenFile()));
+ menu.addAction(tr("Open Meta File"), this, SLOT(issueOpenMetaFile()));
menu.addAction(tr("Reveal in Explorer"), this, SLOT(issueOpenInDownloadsFolder()));
menu.addSeparator();
@@ -315,6 +316,10 @@ void DownloadListWidget::issueOpenFile() emit openFile(m_ContextRow);
}
+void DownloadListWidget::issueOpenMetaFile() {
+ emit openMetaFile(m_ContextRow);
+}
+
void DownloadListWidget::issueOpenInDownloadsFolder()
{
emit openInDownloadsFolder(m_ContextRow);
|
