Serialize Path objects to QML

- media_cache.get_(thumbnail/media) now return a Path instead of str
- When converted to strings in the serialization, the "file://" prefix
  is prepended. This fixes problems when the app is built in release
  mode with QRC resources.
This commit is contained in:
miruka
2019-11-07 03:56:55 -04:00
parent a8f4a00e5e
commit eee2162575
3 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
- Media
- Verify things work with chat.privacytools.io (subdomain weirdness)
- Allow multiple file selection
- Confirmation box after picking file to upload
- Handle upload errors: non existent path, path is a dir, file too big, etc
- Show real progression for mxc thumbnail loadings, uploads and downloads