forked from qt-creator/qt-creator
CppTools: Fix license file path persistence
Broke with ea6da69e8
.
Fixes: QTCREATORBUG-24024
Change-Id: If097c4bc824c1a6b6c005bcf32aef09229804be2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -324,6 +324,7 @@ void CppFileSettingsWidget::apply()
|
|||||||
rc.sourceSuffix = m_ui.sourceSuffixComboBox->currentText();
|
rc.sourceSuffix = m_ui.sourceSuffixComboBox->currentText();
|
||||||
rc.headerSearchPaths = trimmedPaths(m_ui.headerSearchPathsEdit->text());
|
rc.headerSearchPaths = trimmedPaths(m_ui.headerSearchPathsEdit->text());
|
||||||
rc.sourceSearchPaths = trimmedPaths(m_ui.sourceSearchPathsEdit->text());
|
rc.sourceSearchPaths = trimmedPaths(m_ui.sourceSearchPathsEdit->text());
|
||||||
|
rc.licenseTemplatePath = licenseTemplatePath();
|
||||||
|
|
||||||
if (rc == *m_settings)
|
if (rc == *m_settings)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user