Code optimization

This commit is contained in:
Christophe Dumez
2011-04-21 18:57:43 +00:00
parent 284fbf5512
commit 8589eb7c0f
2 changed files with 3 additions and 1 deletions

View File

@@ -360,7 +360,7 @@ public:
emit dataChanged(index(0,0), index(rowCount(), columnCount()));
}
void updateFilesPriorities(std::vector<int> fprio) {
void updateFilesPriorities(const std::vector<int> &fprio) {
emit layoutAboutToBeChanged();
for(unsigned int i=0; i<fprio.size(); ++i) {
//qDebug("Called updateFilesPriorities with %d", fprio[i]);