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

disambiguate fcts

parent de3409e9
No related branches found
No related tags found
1 merge request!2671FitParameterDelegate minor cleanup
...@@ -67,7 +67,7 @@ QString toString(const QModelIndex& index) ...@@ -67,7 +67,7 @@ QString toString(const QModelIndex& index)
return ""; return "";
} }
QWidget* createEditor(QObject* item, QWidget* parent) QWidget* createObjectEditor(QObject* item, QWidget* parent)
{ {
CustomEditor* result(nullptr); CustomEditor* result(nullptr);
...@@ -179,7 +179,7 @@ QWidget* FitParameterDelegate::createEditorFromIndex(const QModelIndex& index, ...@@ -179,7 +179,7 @@ QWidget* FitParameterDelegate::createEditorFromIndex(const QModelIndex& index,
{ {
if (index.internalPointer()) { if (index.internalPointer()) {
auto* item = static_cast<QObject*>(index.internalPointer()); auto* item = static_cast<QObject*>(index.internalPointer());
return ::createEditor(item, parent); return ::createObjectEditor(item, parent);
} }
return nullptr; return nullptr;
} }
......
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