diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2019-09-28 17:30:31 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2019-09-28 17:30:31 +0200 |
commit | 8f2b87b36bd74f1c104653bf22150185125c365c (patch) | |
tree | a5c229048c2e53b6fb9ca19191513d11519e5b4e | |
parent | 00373f156d6428b8bf1c9898c83b3ab2b8236c33 (diff) |
Don't hide arguement
-rw-r--r-- | src/imitatepass.cpp | 6 |
1 files 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<UserInfo> &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); } |