diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-08-21 22:55:02 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-08-21 22:55:12 +0200 |
commit | 454823a921e4153da23cfa28986b9e7510b67a7c (patch) | |
tree | 16b225b099fa61fb8d234df9a8faa6911630969a /proto-ft | |
parent | dae6a98f826f78bda7511ba6de4c8b813353501e (diff) |
proto/freetrack: detect paths with trailing backslash
Diffstat (limited to 'proto-ft')
-rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index 9613f4a8..252819bd 100644 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -175,9 +175,9 @@ module_status freetrack::set_protocols() return {tr("Can't copy library to selected custom location '%1'").arg(s.custom_location_pathname)}; } + location.replace('\\', '/'); if (!location.endsWith('/')) location += '/'; - location.replace('\\', '/'); settings_ft.setValue("Path", use_freetrack ? location : ""); settings_npclient.setValue("Path", use_npclient ? location : ""); |