mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Finish main part of the recent refactoring effort
This finally gets rid of the DBBrowserObject class entirely and moves all its functionality to the newer classes in the sqlb namespace. I'm still not entirely happy with this but at least things should be a little more consistent now.
This commit is contained in:
@@ -365,9 +365,9 @@ void MainWindow::populateStructure()
|
||||
SqlUiLexer::TablesAndColumnsMap tablesToColumnsMap;
|
||||
for(auto it=tab.constBegin();it!=tab.constEnd();++it)
|
||||
{
|
||||
QString objectname = it.value().getname();
|
||||
QString objectname = (*it)->name();
|
||||
|
||||
sqlb::FieldInfoList fi = it->object->fieldInformation();
|
||||
sqlb::FieldInfoList fi = (*it)->fieldInformation();
|
||||
foreach(const sqlb::FieldInfo& f, fi)
|
||||
tablesToColumnsMap[objectname].append(f.name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user