auto picture title improved
This commit is contained in:
parent
2dc99214fa
commit
f45ae57741
2 changed files with 12 additions and 0 deletions
|
@ -233,7 +233,16 @@ void SnapmaticPicture::parseSnapmaticExportAndSortString()
|
|||
monthStr = dateStrList.at(0);
|
||||
}
|
||||
QString cmpPicTitl = titlStr;
|
||||
cmpPicTitl.replace("\"", "''");
|
||||
cmpPicTitl.replace(" ", "_");
|
||||
cmpPicTitl.replace(":", "-");
|
||||
cmpPicTitl.replace("\\", "");
|
||||
cmpPicTitl.replace("/", "");
|
||||
cmpPicTitl.replace("<", "");
|
||||
cmpPicTitl.replace(">", "");
|
||||
cmpPicTitl.replace("*", "");
|
||||
cmpPicTitl.replace("?", "");
|
||||
cmpPicTitl.replace(".", "");
|
||||
sortStr = yearStr + monthStr + dayStr + timeStr;
|
||||
picExportFileName = sortStr + "_" + cmpPicTitl + ".jpg";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue