forked from qt-creator/qt-creator
Replace a few PathChooser::setPath by setFilePath
Change-Id: I4120aa2fe9584334e7c19ca15a647027e496008e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -1181,7 +1181,7 @@ void StringAspect::setVolatileValue(const QVariant &val)
|
||||
switch (d->m_displayStyle) {
|
||||
case PathChooserDisplay:
|
||||
if (d->m_pathChooserDisplay)
|
||||
d->m_pathChooserDisplay->setPath(val.toString());
|
||||
d->m_pathChooserDisplay->setFilePath(FilePath::fromVariant(val));
|
||||
break;
|
||||
case LineEditDisplay:
|
||||
if (d->m_lineEditDisplay)
|
||||
|
@@ -123,7 +123,7 @@ void DeviceSelectorDetailsPanel::refresh()
|
||||
m_memoryView->refresh();
|
||||
m_algorithmView->refresh();
|
||||
m_algorithmView->setAlgorithm(m_selection.algorithmIndex);
|
||||
m_peripheralDescriptionFileChooser->setPath(m_selection.svd);
|
||||
m_peripheralDescriptionFileChooser->setFilePath(Utils::FilePath::fromString(m_selection.svd));
|
||||
}
|
||||
|
||||
// DeviceSelector
|
||||
|
@@ -67,7 +67,7 @@ SettingsPageWidget::SettingsPageWidget()
|
||||
|
||||
const ClearCaseSettings &s = ClearCasePlugin::settings();
|
||||
|
||||
m_ui.commandPathChooser->setPath(s.ccCommand);
|
||||
m_ui.commandPathChooser->setFilePath(FilePath::fromString(s.ccCommand));
|
||||
m_ui.timeOutSpinBox->setValue(s.timeOutS);
|
||||
m_ui.autoCheckOutCheckBox->setChecked(s.autoCheckOut);
|
||||
m_ui.noCommentCheckBox->setChecked(s.noComment);
|
||||
|
Reference in New Issue
Block a user