standard file name changed

This commit is contained in:
Rafael 2016-03-29 19:01:20 +02:00
parent 548b1df02f
commit 3e23117361

View file

@ -199,8 +199,8 @@ fileDialogPreSave:
monthStr = dateStrList.at(0); monthStr = dateStrList.at(0);
} }
QString cmpPicTitl = picTitl; QString cmpPicTitl = picTitl;
cmpPicTitl.replace(" ", ""); cmpPicTitl.replace(" ", "_");
newPictureFileName = yearStr + monthStr + dayStr + timeStr + "_" + cmpPicTitl + ".jpg"; newPictureFileName = yearStr + monthStr + dayStr + timeStr + "-" + cmpPicTitl + ".jpg";
} }
} }
fileDialog.selectFile(newPictureFileName); fileDialog.selectFile(newPictureFileName);