From 8a0eb9705f828d1bd8c01476da9f57d12fe77908 Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 30 Dec 2019 20:48:04 +0100 Subject: [PATCH] Fixed Card View display by anmo --- retroshare-gui/src/gui/Posted/PostedListWidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/Posted/PostedListWidget.cpp b/retroshare-gui/src/gui/Posted/PostedListWidget.cpp index 20a94d5d2..a25c4a4cf 100644 --- a/retroshare-gui/src/gui/Posted/PostedListWidget.cpp +++ b/retroshare-gui/src/gui/Posted/PostedListWidget.cpp @@ -37,7 +37,7 @@ #include #include "retroshare/rsgxscircles.h" -#define POSTED_DEFAULT_LISTING_LENGTH 30 +#define POSTED_DEFAULT_LISTING_LENGTH 10 #define POSTED_MAX_INDEX 10000 #define TOPIC_DEFAULT_IMAGE ":/icons/png/posted.png" @@ -630,7 +630,8 @@ void PostedListWidget::applyRanking() ++counter; } - // Card View + // Card View + counter = 0; QLayout *cviewlayout = ui->scrollAreaWidgetContentsCardView->layout(); foreach (PostedCardView *item, mPostCardView)