forked from qt-creator/qt-creator
Utils: Replace StringAspect::setFilePath()
... by FilePathAspect::setValue(). Closer to the intented uniform API. Task-number: QTCREATORBUG-29167 Change-Id: Ife26046eaeef2e49108e42a31a2d32e453883e3c Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -70,7 +70,7 @@ void SuppressionAspectPrivate::slotAddSuppression()
|
||||
if (!files.isEmpty()) {
|
||||
for (const FilePath &file : files)
|
||||
m_model.appendRow(new QStandardItem(file.toString()));
|
||||
conf->lastSuppressionDirectory.setFilePath(files.at(0).absolutePath());
|
||||
conf->lastSuppressionDirectory.setValue(files.at(0).absolutePath());
|
||||
//conf->setLastSuppressionDialogHistory(dialog.history());
|
||||
if (!isGlobal)
|
||||
q->apply();
|
||||
|
||||
Reference in New Issue
Block a user