Qt4ProjectConfigWidget: Update build directory line edit on build

That line edit shows a red text if the directory does not exist,
building triggers a recheck and removes the red if the directory exists.

Change-Id: I50e87816a3e1b4ee9ef6ccb91e66eec8f7783242
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
Daniel Teske
2013-01-15 19:30:42 +01:00
parent 15fb3d70d4
commit 02b4b8c464
3 changed files with 7 additions and 1 deletions

View File

@@ -426,6 +426,11 @@ QString PathChooser::errorMessage() const
return d->m_lineEdit->errorMessage();
}
void PathChooser::triggerChanged()
{
d->m_lineEdit->triggerChanged();
}
bool PathChooser::validatePath(const QString &path, QString *errorMessage)
{
QString expandedPath = d->expandedPath(path);