Skip to content

Commit

Permalink
refs #5018. Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Mar 23, 2012
1 parent 3c29871 commit 613249c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected slots:
void clearExistingDimensions();

/// Determine if the dimension history has changed.
HistoryChanged hasDimensionHistoryChanged(const QString& propertyPrefix, QString(*format)(Mantid::Geometry::IMDDimension_const_sptr)) const;
HistoryChanged hasDimensionHistoryChanged() const;

/// Give base classes the opportunity to do any custom overriding.
virtual void customiseInitLayout() = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ namespace MantidQt
Determine if properties relating to the dimension history have changed.
@return True if it has changed.
*/
SlicingAlgorithmDialog::HistoryChanged SlicingAlgorithmDialog::hasDimensionHistoryChanged(const QString& propertyPrefix, QString(*format)(IMDDimension_const_sptr)) const
SlicingAlgorithmDialog::HistoryChanged SlicingAlgorithmDialog::hasDimensionHistoryChanged() const
{
const QString& currentWorkspaceName = getCurrentInputWorkspaceName();
if(currentWorkspaceName.isEmpty())
Expand All @@ -216,7 +216,7 @@ namespace MantidQt
const bool axisAligned = doAxisAligned();
ui.non_axis_aligned_layout->setEnabled(!axisAligned);

HistoryChanged changedStatus = hasDimensionHistoryChanged("AlignedDim", formattedAlignedDimensionInput);
HistoryChanged changedStatus = hasDimensionHistoryChanged();
History history;
if(changedStatus == HasChanged || bForceForget)
{
Expand Down

0 comments on commit 613249c

Please sign in to comment.