[glom] ComboBox_Relationship::set_relationships(): Remove unused parameters.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] ComboBox_Relationship::set_relationships(): Remove unused parameters.
- Date: Tue, 8 Sep 2015 19:50:41 +0000 (UTC)
commit 530191a571413a24b7a0572d5f6879ab110e6488
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Sep 8 21:08:13 2015 +0200
ComboBox_Relationship::set_relationships(): Remove unused parameters.
glom/mode_design/layout/combobox_relationship.cc | 4 ++--
glom/mode_design/layout/combobox_relationship.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glom/mode_design/layout/combobox_relationship.cc
b/glom/mode_design/layout/combobox_relationship.cc
index aa8886c..4c2c82a 100644
--- a/glom/mode_design/layout/combobox_relationship.cc
+++ b/glom/mode_design/layout/combobox_relationship.cc
@@ -184,11 +184,11 @@ void ComboBox_Relationship::set_relationships(Document* document, const Glib::us
}
}
-void ComboBox_Relationship::set_relationships(const type_vec_relationships& relationships, const
Glib::ustring& parent_table_name, const Glib::ustring& parent_table_title)
+void ComboBox_Relationship::set_relationships(const type_vec_relationships& relationships)
{
m_model->clear();
- set_display_parent_table(parent_table_name, parent_table_title);
+ set_display_parent_table(Glib::ustring(), Glib::ustring());
//Fill the model:
for(const auto& relationship : relationships)
diff --git a/glom/mode_design/layout/combobox_relationship.h b/glom/mode_design/layout/combobox_relationship.h
index 4441e75..76b3ebb 100644
--- a/glom/mode_design/layout/combobox_relationship.h
+++ b/glom/mode_design/layout/combobox_relationship.h
@@ -39,7 +39,7 @@ public:
virtual ~ComboBox_Relationship();
typedef std::vector< std::shared_ptr<Relationship> > type_vec_relationships;
- void set_relationships(const type_vec_relationships& relationships, const Glib::ustring& parent_table_name
= Glib::ustring(), const Glib::ustring& parent_table_title = Glib::ustring());
+ void set_relationships(const type_vec_relationships& relationship);
void set_relationships(Document* document, const Glib::ustring parent_table_name, bool
show_related_relationships = false, bool show_parent_table = true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]