From 474c9058bac60b4e783808a221c76c0c2fc9730e Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 14 Jan 2015 22:38:07 +0000 Subject: [PATCH] Fixed double dot on file names when saving images. --- common/project.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/project.cpp b/common/project.cpp index 7dcf14a5..bf018d7f 100644 --- a/common/project.cpp +++ b/common/project.cpp @@ -1669,7 +1669,7 @@ void Project::SaveImage() { Options.FileName = mFileName; QString Extension = QFileInfo(Options.FileName).suffix(); - Options.FileName = Options.FileName.left(Options.FileName.length() - Extension.length()); + Options.FileName = Options.FileName.left(Options.FileName.length() - Extension.length() - 1); } else Options.FileName = QLatin1String("image");