forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user