mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-02-09 04:58:27 -06:00
src: rename sqlb::Query::setColumNames
This commit is contained in:
@@ -65,7 +65,7 @@ public:
|
||||
std::string buildQuery(bool withRowid) const;
|
||||
std::string buildCountQuery() const;
|
||||
|
||||
void setColumNames(const std::vector<std::string>& column_names) { m_column_names = column_names; }
|
||||
void setColumnNames(const std::vector<std::string>& column_names) { m_column_names = column_names; }
|
||||
std::vector<std::string> columnNames() const { return m_column_names; }
|
||||
|
||||
void setTable(const sqlb::ObjectIdentifier& table) { m_table = table; }
|
||||
|
||||
@@ -149,7 +149,7 @@ void SqliteTableModel::setQuery(const sqlb::Query& query)
|
||||
}
|
||||
|
||||
// Tell the query object about the column names
|
||||
m_query.setColumNames(m_headers);
|
||||
m_query.setColumnNames(m_headers);
|
||||
|
||||
// Apply new query and update view
|
||||
updateAndRunQuery();
|
||||
|
||||
Reference in New Issue
Block a user