Don't set model for Browse Data view at startup

No nee to bother with this. It gets cleared again later during startup
anyway.
This commit is contained in:
Martin Kleusberg
2016-08-16 22:54:16 +02:00
parent 27f8b96edc
commit bbc14d61ba

View File

@@ -82,9 +82,6 @@ void MainWindow::init()
// Set the validator for the goto line edit
ui->editGoto->setValidator(gotoValidator);
// Set up DB models
ui->dataTable->setModel(m_browseTableModel);
// Set up filters
connect(ui->dataTable->filterHeader(), SIGNAL(filterChanged(int,QString)), this, SLOT(updateFilter(int,QString)));
connect(m_browseTableModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(dataTableSelectionChanged(QModelIndex)));