All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent ef997f2259
commit 9fe130cd73
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -36,13 +36,14 @@ using namespace Gui::Dialog;
* The dialog will by default be modeless, unless you set 'modal' to
* true to construct a modal dialog.
*/
DlgEditFileIncludePropertyExternal::
DlgEditFileIncludePropertyExternal(App::PropertyFileIncluded& Prop,
QWidget* parent, Qt::WindowFlags fl)
: DlgRunExternal(parent, fl), Prop(Prop)
{
}
DlgEditFileIncludePropertyExternal::DlgEditFileIncludePropertyExternal(
App::PropertyFileIncluded& Prop,
QWidget* parent,
Qt::WindowFlags fl
)
: DlgRunExternal(parent, fl)
, Prop(Prop)
{}
/**
* Destroys the object and frees any allocated resources
@@ -64,8 +65,9 @@ int DlgEditFileIncludePropertyExternal::processFile()
int ret = DlgRunExternal::runProcess();
if (ret == QDialog::Accepted)
if (ret == QDialog::Accepted) {
Prop.setValue(TempFile.toUtf8());
}
QFile::remove(TempFile);
return ret;