diff --git a/assets/PostItem.qml b/assets/PostItem.qml index 2fa3ec4..cb61409 100644 --- a/assets/PostItem.qml +++ b/assets/PostItem.qml @@ -57,7 +57,7 @@ Container { NetImageTracker { id: tracker source: (postitem.ListItem.view.hideAvatar()) ? "" : ListItemData.user.content.avatar_image.link - manager: postitem.ListItem.view.listImageManager + manager: postitem.ListItem.view.userImageManager } ] } diff --git a/assets/StreamTab.qml b/assets/StreamTab.qml index eedfddc..6f9755c 100644 --- a/assets/StreamTab.qml +++ b/assets/StreamTab.qml @@ -44,6 +44,7 @@ NavigationPane { ListView { id: streamView property variant listImageManager: feedImageManager + property variant userImageManager: userImageManager property bool fetching: false dataModel: ArrayDataModel { id: postModel @@ -161,6 +162,10 @@ NavigationPane { id: feedImageManager cacheId: "feedImageManager" cacheSize: 250 + }, + NetImageManager { + id: userImageManager + cacheId: "userImageManager" } ] } diff --git a/assets/ThreadPage.qml b/assets/ThreadPage.qml index 874e977..ecc2a55 100644 --- a/assets/ThreadPage.qml +++ b/assets/ThreadPage.qml @@ -33,6 +33,7 @@ Page { ListView { id: threadView property variant listImageManager: feedImageManager + property variant userImageManager: userImageManager dataModel: ArrayDataModel { id: threadModel } @@ -88,6 +89,10 @@ Page { id: feedImageManager cacheId: "feedImageManager" cacheSize: 250 + }, + NetImageManager { + id: userImageManager + cacheId: "userImageManager" } ] } diff --git a/src/netimagetracker.cpp b/src/netimagetracker.cpp index 9ccea1b..b062df9 100644 --- a/src/netimagetracker.cpp +++ b/src/netimagetracker.cpp @@ -47,7 +47,7 @@ void NetImageTracker::onImageReady(const QString filePath, const QString imageNa if (imageName.compare(mSource) == 0) { if (imageName.compare("loading") == 0) { // If we don't have an image to display, let's display a loading image - QUrl url = QUrl("asset:///images/ca_rss_unread.png"); + QUrl url = QUrl("asset:///icons/ic_doctype_picture.png"); setImageSource(url); } else { // Set the path to the image that is now downloaded and cached in the data folder on the device. diff --git a/translations/Goober.ts b/translations/Goober.ts index ca1461c..6aecc3c 100644 --- a/translations/Goober.ts +++ b/translations/Goober.ts @@ -223,22 +223,22 @@ StreamTab - + New Post - + To Top - + To Bottom - + Reload