The catalogue now loads the list of databases en there is a table model that can show this data.

This commit is contained in:
eelke 2017-02-12 14:03:42 +01:00
parent a9430bca1a
commit 20af12535e
22 changed files with 504 additions and 118 deletions

View file

@ -33,7 +33,7 @@ QVariant TypeSelectionItemModel::data(const QModelIndex &index, int role) const
int column = index.column();
if (role == Qt::DisplayRole) {
if (column == 0) {
const PgType &tp = m_types->getTypeByIdx(row);
const PgType &tp = m_types->getByIdx(row);
result = tp.typname;
// switch (row) {