astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2017-07-28 18:21:59 +02:00
parent 2828742e1e
commit 1dfa92c2ce
1 changed files with 4 additions and 2 deletions

View File

@ -187,7 +187,8 @@ void ProjectFileDialog::browseBuildDir()
mUI.mEditBuildDir->setText(dir);
}
void ProjectFileDialog::updatePathsAndDefines() {
void ProjectFileDialog::updatePathsAndDefines()
{
bool importProject = !mUI.mEditImportProject->text().isEmpty();
mUI.mBtnClearImportProject->setEnabled(importProject);
mUI.mListCheckPaths->setEnabled(!importProject);
@ -202,7 +203,8 @@ void ProjectFileDialog::updatePathsAndDefines() {
mUI.mBtnIncludeDown->setEnabled(!importProject);
}
void ProjectFileDialog::clearImportProject() {
void ProjectFileDialog::clearImportProject()
{
mUI.mEditImportProject->clear();
updatePathsAndDefines();
}