Fix inconsistent Explore menu option naming. Used Visual Studio standard.

This commit is contained in:
AL
2020-04-02 14:29:40 +02:00
parent a4ed20295f
commit 502e752b0a
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -221,7 +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("Show in Folder"), this, SLOT(issueOpenInDownloadsFolder()));
menu.addAction(tr("Reveal in Explorer"), this, SLOT(issueOpenInDownloadsFolder()));
menu.addSeparator();
@@ -233,12 +233,12 @@ void DownloadListWidget::onCustomContextMenu(const QPoint &point)
} else if (state == DownloadManager::STATE_DOWNLOADING) {
menu.addAction(tr("Cancel"), this, SLOT(issueCancel()));
menu.addAction(tr("Pause"), this, SLOT(issuePause()));
menu.addAction(tr("Show in Folder"), this, SLOT(issueOpenInDownloadsFolder()));
menu.addAction(tr("Reveal in Explorer"), this, SLOT(issueOpenInDownloadsFolder()));
} else if ((state == DownloadManager::STATE_PAUSED) || (state == DownloadManager::STATE_ERROR)
|| (state == DownloadManager::STATE_PAUSING)) {
menu.addAction(tr("Delete"), this, SLOT(issueDelete()));
menu.addAction(tr("Resume"), this, SLOT(issueResume()));
menu.addAction(tr("Show in Folder"), this, SLOT(issueOpenInDownloadsFolder()));
menu.addAction(tr("Reveal in Explorer"), this, SLOT(issueOpenInDownloadsFolder()));
}
menu.addSeparator();
+1 -1
View File
@@ -683,7 +683,7 @@ void FileTree::addFileMenus(QMenu& menu, const FileEntry& file, int originID)
.enabled(getFileExecutionType(target) == FileExecutionTypes::Executable)
.addTo(menu);
MenuItem(tr("E&xplore"))
MenuItem(tr("Reveal in E&xplorer"))
.callback([&]{ exploreOrigin(); })
.hint(tr("Opens the file in Explorer"))
.disabledHint(tr("This file is in an archive"))