Skip to content

Commit d09cfef

Browse files
committed
Simplity git path finding on Windows
1 parent 5edf794 commit d09cfef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/git/GitPlugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ GitPlugin::GitPlugin() {
5555
// TODO: find git in a more proper way
5656
#if defined(Q_OS_WINDOWS)
5757
auto label = tr("git exe");
58-
gitBinary = "c:\\Program Files\\Git\\bin\\git.exe";
58+
gitBinary = R"(C:\Program Files\Git\bin\git.exe)";
5959
#else
6060
gitBinary = "git";
6161
auto label = tr("git binary");

0 commit comments

Comments
 (0)