summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen <freso.dk@gmail.com>2018-08-06 12:21:02 +0200
committerFrederik “Freso” S. Olesen <freso.dk@gmail.com>2018-08-06 12:21:02 +0200
commit796224d73369e55b278aa1be1a13f357b094e49c (patch)
tree0a7c5e9010732075f0cf69e2e4b1d9507b061214 /src/downloadmanager.h
parent1e4b5d2436df759dead3f7c9da9c928da3ff3047 (diff)
Add new "Open File" right-click dialog for Downloads
This enables the user to directly open the downloaded archived/file which can be useful for e.g., inspection of what's inside or if they need to copy files from inside the archive to somewhere else. Saves a step compared to "Show in Folder" and then opening the file.
Diffstat (limited to 'src/downloadmanager.h')
-rw-r--r--src/downloadmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h
index 136ecf2a..e85c8c81 100644
--- a/src/downloadmanager.h
+++ b/src/downloadmanager.h
@@ -445,6 +445,8 @@ public slots:
void visitOnNexus(int index);
+ void openFile(int index);
+
void openInDownloadsFolder(int index);
void nxmDescriptionAvailable(QString gameName, int modID, QVariant userData, QVariant resultData, int requestID);