diff options
-rw-r--r-- | src/plugins/git/gitsettings.cpp | 12 | ||||
-rw-r--r-- | src/plugins/git/gitsettings.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/plugins/git/gitsettings.cpp b/src/plugins/git/gitsettings.cpp index 8a16b905a9..874fb4828d 100644 --- a/src/plugins/git/gitsettings.cpp +++ b/src/plugins/git/gitsettings.cpp @@ -132,18 +132,6 @@ GitSettings::GitSettings() refLogShowDate.setSettingsKey("RefLogShowDate"); timeout.setDefaultValue(Utils::HostOsInfo::isWindowsHost() ? 60 : 30); - - note.setText(tr("<b>Note:</b>") + tr("Git needs to find Perl in the environment.")); - - const auto updateNoteField = [this] { - Environment env = Environment::systemEnvironment(); - env.prependOrSetPath(path.value()); - const bool showNote = env.searchInPath("perl").isEmpty(); - note.setVisible(showNote); - }; - - updateNoteField(); - QObject::connect(&path, &BaseAspect::changed, ¬e, updateNoteField); } FilePath GitSettings::gitExecutable(bool *ok, QString *errorMessage) const diff --git a/src/plugins/git/gitsettings.h b/src/plugins/git/gitsettings.h index c991791663..5e06c52f46 100644 --- a/src/plugins/git/gitsettings.h +++ b/src/plugins/git/gitsettings.h @@ -63,7 +63,6 @@ public: Utils::BoolAspect followRenames; Utils::IntegerAspect lastResetIndex; Utils::BoolAspect refLogShowDate; - Utils::TextDisplay note; Utils::FilePath gitExecutable(bool *ok = nullptr, QString *errorMessage = nullptr) const; }; |