diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2011-10-06 13:49:44 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-10-06 12:05:24 +0200 |
commit | f30e1092f314b59609955f7eea759ab9a8680300 (patch) | |
tree | b500009f7fe5ca3ce812398e9b358c238970f148 /src/plugins/git/gitsettings.cpp | |
parent | c98e72a92a636b96f4ab4dcd2a02a2a295426dbc (diff) |
Git: Fix git.cmd not found on windows
Change-Id: I89c7743331bb28bbabe946df3da8fede44652414
Reviewed-on: http://codereview.qt-project.org/6138
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/git/gitsettings.cpp')
-rw-r--r-- | src/plugins/git/gitsettings.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/git/gitsettings.cpp b/src/plugins/git/gitsettings.cpp index 1868b1ff04f..013cbc5df5f 100644 --- a/src/plugins/git/gitsettings.cpp +++ b/src/plugins/git/gitsettings.cpp @@ -54,11 +54,10 @@ GitSettings::GitSettings() { setSettingsGroup(QLatin1String("Git")); + declareKey(binaryPathKey, QLatin1String("git")); #ifdef Q_OS_WIN - declareKey(binaryPathKey, QLatin1String("git.exe")); declareKey(timeoutKey, 60); #else - declareKey(binaryPathKey, QLatin1String("git")); declareKey(timeoutKey, 30); #endif declareKey(adoptPathKey, false); |