Skip to content

Commit

Permalink
Add some comments on the pointer ownership.
Browse files Browse the repository at this point in the history
Refs #9756
  • Loading branch information
martyngigg committed Jun 30, 2014
1 parent 470d0c9 commit a210289
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Code/Mantid/MantidQt/API/src/AlgorithmDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ AlgorithmDialog::~AlgorithmDialog()

/**
* Create the layout for this dialog.
*
* The default is to execute the algorithm when accept() is called. This
* assumes that the AlgorithmManager owns the
* algorithm pointer as it must survive after the dialog is destroyed.
*/
void AlgorithmDialog::initializeLayout()
{
Expand Down

0 comments on commit a210289

Please sign in to comment.