forked from qt-creator/qt-creator
Utils: Make StringAspect's (potential) PathChooser accessible
This is not advised use, but helps to avoid an awful hack in the AppManager plugin. Change-Id: If40535dfb2c7bd15ff6d4fe49f4fa45d68150ef6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -839,6 +839,11 @@ void StringAspect::setFilePath(const FilePath &value)
|
|||||||
setValue(value.toUserOutput());
|
setValue(value.toUserOutput());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PathChooser *StringAspect::pathChooser() const
|
||||||
|
{
|
||||||
|
return d->m_pathChooserDisplay.data();
|
||||||
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\internal
|
\internal
|
||||||
*/
|
*/
|
||||||
|
@@ -338,6 +338,8 @@ public:
|
|||||||
Utils::FilePath filePath() const;
|
Utils::FilePath filePath() const;
|
||||||
void setFilePath(const Utils::FilePath &value);
|
void setFilePath(const Utils::FilePath &value);
|
||||||
|
|
||||||
|
PathChooser *pathChooser() const; // Avoid to use.
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void checkedChanged();
|
void checkedChanged();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user