Clean up the DBBrowserDB class a bit

This commit is contained in:
Martin Kleusberg
2014-08-31 16:10:01 +02:00
parent 03879d93f0
commit b87992c8fb
6 changed files with 14 additions and 31 deletions

View File

@@ -42,7 +42,7 @@ void SqliteTableModel::setTable(const QString& table)
if(t.name() != "") // parsing was OK
{
m_headers.push_back(t.rowidColumn());
m_headers.append(m_db->getTableFields(table));
m_headers.append(m_db->getObjectByName(table).table.fieldNames());
}
else
{