Commit f30e1092 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Git: Fix git.cmd not found on windows

Change-Id: I89c7743331bb28bbabe946df3da8fede44652414
Reviewed-on: http://codereview.qt-project.org/6138

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent c98e72a9
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment