From 8f2b87b36bd74f1c104653bf22150185125c365c Mon Sep 17 00:00:00 2001 From: Anne Jan Brouwer Date: Sat, 28 Sep 2019 17:30:31 +0200 Subject: Don't hide arguement --- src/imitatepass.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/imitatepass.cpp b/src/imitatepass.cpp index 659f97aa..236923d6 100644 --- a/src/imitatepass.cpp +++ b/src/imitatepass.cpp @@ -196,9 +196,9 @@ void ImitatePass::Init(QString path, const QList &users) { !QtPassSettings::getGitExecutable().isEmpty()) { if (addFile) executeGit(GIT_ADD, {"add", pgit(gpgIdFile)}); - QString path = gpgIdFile; - path.replace(QRegExp("\\.gpg$"), ""); - GitCommit(gpgIdFile, "Added " + path + " using QtPass."); + QString commitPath = gpgIdFile; + commitPath.replace(QRegExp("\\.gpg$"), ""); + GitCommit(gpgIdFile, "Added " + commitPath + " using QtPass."); } reencryptPath(path); } -- cgit v1.2.3