Skip to content

Commit

Permalink
cutting trailing dots from folder names on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
t-schroeder committed Jun 26, 2021
1 parent a1f8b0c commit 57df296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sync-my-L2P.pro
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
QT += core gui network widgets xml
CONFIG += c++11

VERSION = "2.4.2"
VERSION_CODE = "20402"
VERSION = "2.4.3"
VERSION_CODE = "20403"

TEMPLATE_FILES = include/version.h.template \
gui/info.ui.template \
Expand Down
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ QString Utils::getElementLocalPath(Structureelement *item, QString downloadDirec
auto element_text = parent->text();
if(element_text.length() > 75)
element_text = element_text.left(75).trimmed();
while (QSysInfo::productType() == "windows" && element_text.endsWith(".")) {
while (element_text.endsWith(".")) {
element_text.chop(1);
}
path.push_front(element_text % "/");
Expand Down

0 comments on commit 57df296

Please sign in to comment.