forked from qt-creator/qt-creator
Utils: Use FilePath for PathChooser::m_baseDirectory
... and collapse the two accessor versions to one. Change-Id: I282753a0092601cff073684053ff914016452645 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -773,7 +773,7 @@ void PathChooserField::initializeData(MacroExpander *expander)
|
||||
{
|
||||
auto w = qobject_cast<PathChooser *>(widget());
|
||||
QTC_ASSERT(w, return);
|
||||
w->setBaseDirectory(expander->expand(m_basePath));
|
||||
w->setBaseDirectory(expander->expand(FilePath::fromString(m_basePath)));
|
||||
w->setExpectedKind(m_kind);
|
||||
|
||||
if (m_currentPath.isNull())
|
||||
|
||||
Reference in New Issue
Block a user