forked from qt-creator/qt-creator
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:
@@ -80,7 +80,7 @@ GitSettings::GitSettings()
|
|||||||
winSetHomeEnvironment.setSettingsKey("WinSetHomeEnvironment");
|
winSetHomeEnvironment.setSettingsKey("WinSetHomeEnvironment");
|
||||||
winSetHomeEnvironment.setDefaultValue(true);
|
winSetHomeEnvironment.setDefaultValue(true);
|
||||||
winSetHomeEnvironment.setLabelText(tr("Set \"HOME\" environment variable"));
|
winSetHomeEnvironment.setLabelText(tr("Set \"HOME\" environment variable"));
|
||||||
if (true || HostOsInfo::isWindowsHost()) {
|
if (HostOsInfo::isWindowsHost()) {
|
||||||
const QByteArray currentHome = qgetenv("HOME");
|
const QByteArray currentHome = qgetenv("HOME");
|
||||||
const QString toolTip
|
const QString toolTip
|
||||||
= tr("Set the environment variable HOME to \"%1\"\n(%2).\n"
|
= tr("Set the environment variable HOME to \"%1\"\n(%2).\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user