Skip to content
Snippets Groups Projects
Commit 09bb1d44 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

typo

parent 4cb8175d
No related branches found
No related tags found
1 merge request!48Comments and simplifications in loader context
...@@ -69,15 +69,17 @@ void JobItemUtils::updateDataAxes(DataItem* intensityItem, const InstrumentItem* ...@@ -69,15 +69,17 @@ void JobItemUtils::updateDataAxes(DataItem* intensityItem, const InstrumentItem*
updateAxesTitle(intensityItem, *converter, requested_units); updateAxesTitle(intensityItem, *converter, requested_units);
} }
//! Correspondance of domain detector axes types to their gui counterpart. //! Correspondence of domain detector axes types to their GUI counterpart.
QString JobItemUtils::nameFromAxesUnits(Axes::Units units) QString JobItemUtils::nameFromAxesUnits(Axes::Units units)
{ {
return names_from_units.find(units) != names_from_units.end() ? names_from_units.at(units) const auto it = names_from_units.find(units);
: QString(); if (it == names_from_units.end())
return "";
return it->second;
} }
//! Correspondance of GUI axes units names to their domain counterpart. //! Correspondence of GUI axes units names to their domain counterpart.
Axes::Units JobItemUtils::axesUnitsFromName(const QString& name) Axes::Units JobItemUtils::axesUnitsFromName(const QString& name)
{ {
......
...@@ -131,7 +131,7 @@ QStringList ParameterTreeUtils::translatedParameterTreeNames(const SessionItem* ...@@ -131,7 +131,7 @@ QStringList ParameterTreeUtils::translatedParameterTreeNames(const SessionItem*
return result; return result;
} }
//! Correspondance of parameter name to translated name for all properties found in source //! Correspondence of parameter name to translated name for all properties found in source
//! in its children. //! in its children.
QVector<QPair<QString, QString>> ParameterTreeUtils::parameterDictionary(const SessionItem* source) QVector<QPair<QString, QString>> ParameterTreeUtils::parameterDictionary(const SessionItem* source)
......
...@@ -106,7 +106,7 @@ private: ...@@ -106,7 +106,7 @@ private:
bool m_block_selection; bool m_block_selection;
QMap<SessionItem*, IView*> m_ItemToView; QMap<SessionItem*, IView*> m_ItemToView;
//!< Correspondance of model's item and scene's view //!< Correspondence of model's item and scene's view
QLineF m_layer_interface_line; QLineF m_layer_interface_line;
//!< Foreground line representing appropriate interface during layer's movement //!< Foreground line representing appropriate interface during layer's movement
......
...@@ -76,7 +76,7 @@ public: ...@@ -76,7 +76,7 @@ public:
QStringList savedFileNames(const QString& dirname) const; QStringList savedFileNames(const QString& dirname) const;
private: private:
//!< Correspondance of directory name to save history. //!< Correspondence of directory name to save history.
QMap<QString, OutputDataDirHistory> m_dir_history; QMap<QString, OutputDataDirHistory> m_dir_history;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment