Skip to content

Commit

Permalink
refs #6271. Fix mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jan 11, 2013
1 parent b5d8dcf commit 6a20859
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace MantidQt
static const QString HKL;
static const QString DSPACING;
static const QString INT;
static const QString SIGINT;
static const QString SIGMINT;
static const QString QLAB;
static const QString QSAMPLE;

Expand Down
6 changes: 3 additions & 3 deletions Code/Mantid/MantidQt/SliceViewer/src/QPeaksTableModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace MantidQt
const QString QPeaksTableModel::HKL = "HKL";
const QString QPeaksTableModel::DSPACING = "DSpacing";
const QString QPeaksTableModel::INT = "Int";
const QString QPeaksTableModel::SIGINT = "SigInt";
const QString QPeaksTableModel::SIGMINT = "SigInt";
const QString QPeaksTableModel::QLAB = "QLab";
const QString QPeaksTableModel::QSAMPLE = "QSample";

Expand All @@ -30,7 +30,7 @@ namespace MantidQt
map.insert(std::make_pair(HKL, peak.getHKL().toString().c_str()));
map.insert(std::make_pair(DSPACING, QString::number(peak.getDSpacing())));
map.insert(std::make_pair(INT, QString::number(peak.getIntensity())));
map.insert(std::make_pair(SIGINT, QString::number(peak.getIntensity())));
map.insert(std::make_pair(SIGMINT, QString::number(peak.getIntensity())));
map.insert(std::make_pair(QLAB, peak.getQLabFrame().toString().c_str()));
map.insert(std::make_pair(QSAMPLE, peak.getQSampleFrame().toString().c_str()));
return map;
Expand All @@ -48,7 +48,7 @@ namespace MantidQt
m_columnNameMap.insert(std::make_pair(index++, HKL));
m_columnNameMap.insert(std::make_pair(index++, DSPACING));
m_columnNameMap.insert(std::make_pair(index++, INT));
m_columnNameMap.insert(std::make_pair(index++, SIGINT));
m_columnNameMap.insert(std::make_pair(index++, SIGMINT));
m_columnNameMap.insert(std::make_pair(index++, QLAB));
m_columnNameMap.insert(std::make_pair(index++, QSAMPLE));
}
Expand Down

0 comments on commit 6a20859

Please sign in to comment.