Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Save CachedFileData to disk | Arno | 2018-01-02 | 1 | -0/+10 |
| | | | | | | | | | Since we already have the data, save it to speed up the start. Surprisingly, the hardest part was to figure out how to use QStandardPaths to find a location where to save the file. I went with the semi-hardcoded path HomeLocation/.shemovcleaner, even though we're on windows. | ||||
* | Implement cache for FileWidget | Arno | 2018-01-02 | 1 | -0/+3 |
Some data-gathering is quite expensive and requires a QProcess, like getting the duration, so cache it in memory using QCache. Once the cache is filled, the UI is much snappier. This simplifies gatherData() a bit. It's still quite a long function, but now it doesn't create the QStandardItems any more. I moved it to a separate function. |