All: Use the shorter access to aspect values in a few places

Change-Id: Ie0ff0e4e1cf4c2750897ea733dfccb743f44fa93
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-05-12 16:51:12 +02:00
parent 30af7a9503
commit c85b72000f
21 changed files with 61 additions and 58 deletions

View File

@@ -230,8 +230,8 @@ VcsBaseSubmitEditor::~VcsBaseSubmitEditor()
void VcsBaseSubmitEditor::slotUpdateEditorSettings()
{
const CommonVcsSettings &s = VcsPlugin::instance()->settings();
setLineWrapWidth(s.lineWrapWidth.value());
setLineWrap(s.lineWrap.value());
setLineWrapWidth(s.lineWrapWidth());
setLineWrap(s.lineWrap());
}
// Return a trimmed list of non-empty field texts