lazy load the database sizes only when needed by the server inspector.
This commit is contained in:
parent
39195153cd
commit
b5a706a2a2
10 changed files with 165 additions and 70 deletions
|
|
@ -188,7 +188,7 @@ void TablesTableModel::StartLoadTableSizes(std::map<Oid, int> oidIndex)
|
|||
{
|
||||
return QueryTableSizes();
|
||||
})
|
||||
.then(qApp, [p, oidIndex] (std::vector<TableSize> sizes)
|
||||
.then(qApp, [p, oidIndex] (TableSizes sizes)
|
||||
{
|
||||
if (p)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue