All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
ef997f2259
commit
9fe130cd73
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user