Git: Fix a condition

A 'true || ...' was used while testing aa69415ac7 and was accidentally
committed.

Change-Id: I07d56035e93944e20cf1d2f5808ce3cbff1c5d5e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2021-03-31 17:05:25 +02:00
parent ed2fba8f58
commit adad221aa2

View File

@@ -80,7 +80,7 @@ GitSettings::GitSettings()
winSetHomeEnvironment.setSettingsKey("WinSetHomeEnvironment");
winSetHomeEnvironment.setDefaultValue(true);
winSetHomeEnvironment.setLabelText(tr("Set \"HOME\" environment variable"));
if (true || HostOsInfo::isWindowsHost()) {
if (HostOsInfo::isWindowsHost()) {
const QByteArray currentHome = qgetenv("HOME");
const QString toolTip
= tr("Set the environment variable HOME to \"%1\"\n(%2).\n"