diff --git a/GUI/Model/Descriptor/ComboProperty.cpp b/GUI/Model/Descriptor/ComboProperty.cpp index 8ce95d9db5e121d6b36333224615da855ebaa301..38e5d7366f2e6fff828edec8bad7f7e74ea571f3 100644 --- a/GUI/Model/Descriptor/ComboProperty.cpp +++ b/GUI/Model/Descriptor/ComboProperty.cpp @@ -91,22 +91,6 @@ void ComboProperty::setCurrentIndex(int index) m_selected_indices.push_back(index); } -ComboProperty& ComboProperty::operator<<(const QString& str) -{ - m_values.append(str); - if (!m_values.empty()) - setCurrentIndex(0); - return *this; -} - -ComboProperty& ComboProperty::operator<<(const QStringList& str) -{ - m_values.append(str); - if (!m_values.empty()) - setCurrentIndex(0); - return *this; -} - //! Constructs variant enclosing given ComboProperty. QVariant ComboProperty::variant() const diff --git a/GUI/Model/Descriptor/ComboProperty.h b/GUI/Model/Descriptor/ComboProperty.h index 7b3183dbfd30552b2ac7ffdc4cd626c315c8c129..3f194df4fc7ac68c9197a7cb51b361da9a71a51f 100644 --- a/GUI/Model/Descriptor/ComboProperty.h +++ b/GUI/Model/Descriptor/ComboProperty.h @@ -43,9 +43,6 @@ public: int currentIndex() const; void setCurrentIndex(int index); - ComboProperty& operator<<(const QString& str); - ComboProperty& operator<<(const QStringList& str); - QVariant variant() const; void setSelected(int index, bool value = true);