Commit 61cefb2f authored by Lars Knoll's avatar Lars Knoll Committed by Marc Mutz
Browse files

De-inline QFileSystemModel::fileInfo() and implement it efficiently


De-inline the method, and return the file info that's already being
cached by the model.

This is ok to do in a minor release, as apps compiled against an older
version of Qt will simply continue to use the less efficient
implementation.

Change-Id: I164c7961a8cf97447638af316512326442767dd8
Task-number: QTBUG-30902
Reviewed-by: default avatarMarc Mutz <marc.mutz@kdab.com>
Reviewed-by: default avatarEdward Welbourne <edward.welbourne@theqtcompany.com>
Reviewed-by: default avatarKonstantin Ritt <ritt.ks@gmail.com>
parent 678a4273
Showing with 7 additions and 3 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment