From 7e0849a8d96b85ac370ad0c27e6a5c7ee2de54e0 Mon Sep 17 00:00:00 2001 From: Christian Heimlich Date: Wed, 17 Jul 2024 22:11:25 -0400 Subject: [PATCH] Replace '-' with "_" for LaunchBox docs LB does this itself so we need to account for this when naming related files so that they all match. --- app/src/frontend/launchbox/lb-install.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/frontend/launchbox/lb-install.cpp b/app/src/frontend/launchbox/lb-install.cpp index b2bb2ea..c4e1f53 100644 --- a/app/src/frontend/launchbox/lb-install.cpp +++ b/app/src/frontend/launchbox/lb-install.cpp @@ -312,6 +312,7 @@ QString Install::translateDocName(const QString& originalName, Fe::DataDoc::Type // LB specific changes translatedName.replace('#','_'); translatedName.replace('\'','_'); + translatedName.replace('-','_'); return translatedName; }