projects
/
quandoparte
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bf1cf0
)
Fix alpha sorting on startup
author
Luciano Montanaro
<mikelima@cirulla.net>
Sun, 17 Jul 2011 20:01:19 +0000
(22:01 +0200)
committer
Luciano Montanaro
<mikelima@cirulla.net>
Sun, 17 Jul 2011 20:01:19 +0000
(22:01 +0200)
The station view was not sorted on startup.
This was hidden by the GeoPosition updates, which were removed in 4.2
application/stationlistmodel.cpp
patch
|
blob
|
history
diff --git
a/application/stationlistmodel.cpp
b/application/stationlistmodel.cpp
index
01083d8
..
d961afd
100644
(file)
--- a/
application/stationlistmodel.cpp
+++ b/
application/stationlistmodel.cpp
@@
-48,6
+48,12
@@
bool StationListModel::load(const QString &filename)
qDebug() << "file error for:" << filename;
return false;
}
+ /*
+ QModelIndex first = index(0, 0);
+ QModelIndex last = index(rowCount(), columnCount());
+ emit dataChanged(first, last);
+ */
+ emit layoutChanged();
return true;
}