mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'RenderStarsOnTable' of https://github.com/tcanabrava/subsurface into Qt
This commit is contained in:
commit
0794f03b5e
5 changed files with 4 additions and 10 deletions
|
@ -69,7 +69,7 @@ void MainWindow::on_actionOpen_triggered()
|
|||
model->deleteLater();
|
||||
model = new DiveTripModel(this);
|
||||
sortModel->setSourceModel(model);
|
||||
ui->ListWidget->setItemDelegateForColumn(DiveTripModel::RATING, new StarWidgetsDelegate());
|
||||
ui->ListWidget->sortByColumn(0, Qt::DescendingOrder);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionSave_triggered()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue