From 3e231173616a32f76b703cf04ae85bffb7a71faf Mon Sep 17 00:00:00 2001 From: Rafael Date: Tue, 29 Mar 2016 19:01:20 +0200 Subject: [PATCH] standard file name changed --- PictureDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PictureDialog.cpp b/PictureDialog.cpp index 83ddc19..4e319d4 100755 --- a/PictureDialog.cpp +++ b/PictureDialog.cpp @@ -199,8 +199,8 @@ fileDialogPreSave: monthStr = dateStrList.at(0); } QString cmpPicTitl = picTitl; - cmpPicTitl.replace(" ", ""); - newPictureFileName = yearStr + monthStr + dayStr + timeStr + "_" + cmpPicTitl + ".jpg"; + cmpPicTitl.replace(" ", "_"); + newPictureFileName = yearStr + monthStr + dayStr + timeStr + "-" + cmpPicTitl + ".jpg"; } } fileDialog.selectFile(newPictureFileName);