Mercurial > hg > syntilista
changeset 112:2524434a7193
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 04 Jul 2017 12:43:43 +0300 |
parents | ec01c5b0eaa8 |
children | 907f2ddf6801 |
files | src/main.cpp src/main.h |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.cpp Tue Jul 04 09:54:47 2017 +0300 +++ b/src/main.cpp Tue Jul 04 12:43:43 2017 +0300 @@ -622,7 +622,7 @@ int row = sel->currentIndex().row() + 1; if (row >= model_People->rowCount()) row = model_People->rowCount() - 1; - + sel->setCurrentIndex(model_People->index(row, 0), QItemSelectionModel::ClearAndSelect|QItemSelectionModel::Rows); }
--- a/src/main.h Tue Jul 04 09:54:47 2017 +0300 +++ b/src/main.h Tue Jul 04 12:43:43 2017 +0300 @@ -31,7 +31,7 @@ class PersonInfo : public QObject { Q_OBJECT - + public: explicit PersonInfo() { @@ -148,7 +148,7 @@ void changeUIZoomIn(); void changeUIZoomOut(); void changeUIZoomReset(); - + void updateSortOrder(int index, Qt::SortOrder order);