Really fixed loading issue for card view

This commit is contained in:
hunbernd 2019-12-28 18:51:22 +01:00
parent f99224e1c0
commit 76f803316e

View File

@ -37,7 +37,7 @@
#include <retroshare/rsposted.h> #include <retroshare/rsposted.h>
#include "retroshare/rsgxscircles.h" #include "retroshare/rsgxscircles.h"
#define POSTED_DEFAULT_LISTING_LENGTH 30 #define POSTED_DEFAULT_LISTING_LENGTH 10
#define POSTED_MAX_INDEX 10000 #define POSTED_MAX_INDEX 10000
#define TOPIC_DEFAULT_IMAGE ":/icons/png/posted.png" #define TOPIC_DEFAULT_IMAGE ":/icons/png/posted.png"
@ -631,6 +631,7 @@ void PostedListWidget::applyRanking()
} }
// Card View // Card View
counter = 0;
QLayout *cviewlayout = ui->scrollAreaWidgetContentsCardView->layout(); QLayout *cviewlayout = ui->scrollAreaWidgetContentsCardView->layout();
foreach (PostedCardView *item, mPostCardView) foreach (PostedCardView *item, mPostCardView)