diff --git a/retroshare-gui/src/gui/Posted/PostedListDialog.cpp b/retroshare-gui/src/gui/Posted/PostedListDialog.cpp index 0d49907d2..745035c7e 100644 --- a/retroshare-gui/src/gui/Posted/PostedListDialog.cpp +++ b/retroshare-gui/src/gui/Posted/PostedListDialog.cpp @@ -455,10 +455,11 @@ void PostedListDialog::requestGroupThreadData_InsertThreads(const std::string &g //mPostedQueue->requestMsgInfo(token, RS_TOKREQ_ANSTYPE_DATA, opts, grpIds, POSTEDDIALOG_INSERTTHREADS); // Do specific Posted Request.... - rsPosted->requestRanking(token, groupId); - // get the Queue to handle response. - mPostedQueue->queueRequest(token, TOKENREQ_MSGINFO, RS_TOKREQ_ANSTYPE_DATA, POSTEDDIALOG_INSERTTHREADS); - + if (rsPosted->requestRanking(token, groupId)) + { + // get the Queue to handle response. + mPostedQueue->queueRequest(token, TOKENREQ_MSGINFO, RS_TOKREQ_ANSTYPE_DATA, POSTEDDIALOG_INSERTTHREADS); + } } diff --git a/retroshare-gui/src/gui/forumsv2/CreateForumV2.cpp b/retroshare-gui/src/gui/forumsv2/CreateForumV2.cpp index 0463b7941..d261c024e 100644 --- a/retroshare-gui/src/gui/forumsv2/CreateForumV2.cpp +++ b/retroshare-gui/src/gui/forumsv2/CreateForumV2.cpp @@ -27,7 +27,7 @@ #include -#include +#include #include #include diff --git a/retroshare-gui/src/gui/forumsv2/CreateForumV2Msg.cpp b/retroshare-gui/src/gui/forumsv2/CreateForumV2Msg.cpp index 4df3ebc3c..19920ac91 100644 --- a/retroshare-gui/src/gui/forumsv2/CreateForumV2Msg.cpp +++ b/retroshare-gui/src/gui/forumsv2/CreateForumV2Msg.cpp @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include "gui/settings/rsharesettings.h" diff --git a/retroshare-gui/src/gui/forumsv2/EditForumV2Details.cpp b/retroshare-gui/src/gui/forumsv2/EditForumV2Details.cpp index 7d04594d9..5d7d9c690 100644 --- a/retroshare-gui/src/gui/forumsv2/EditForumV2Details.cpp +++ b/retroshare-gui/src/gui/forumsv2/EditForumV2Details.cpp @@ -21,7 +21,7 @@ #include "EditForumV2Details.h" -#include +#include #include "util/misc.h" diff --git a/retroshare-gui/src/gui/forumsv2/ForumV2Details.cpp b/retroshare-gui/src/gui/forumsv2/ForumV2Details.cpp index 29f0c750f..0f3d0f4dc 100644 --- a/retroshare-gui/src/gui/forumsv2/ForumV2Details.cpp +++ b/retroshare-gui/src/gui/forumsv2/ForumV2Details.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include diff --git a/retroshare-gui/src/gui/gxs/ForumV2GroupDialog.cpp b/retroshare-gui/src/gui/gxs/ForumV2GroupDialog.cpp index 5a588d644..f462181d2 100644 --- a/retroshare-gui/src/gui/gxs/ForumV2GroupDialog.cpp +++ b/retroshare-gui/src/gui/gxs/ForumV2GroupDialog.cpp @@ -21,7 +21,7 @@ #include "ForumV2GroupDialog.h" -#include +#include #include ForumV2GroupDialog::ForumV2GroupDialog(QWidget *parent) diff --git a/retroshare-gui/src/util/TokenQueue.cpp b/retroshare-gui/src/util/TokenQueue.cpp index 232e17bb4..1c0cf7a0f 100644 --- a/retroshare-gui/src/util/TokenQueue.cpp +++ b/retroshare-gui/src/util/TokenQueue.cpp @@ -104,7 +104,7 @@ void TokenQueue::pollRequests() std::list::iterator it; double pollPeriod = 1.0; // max poll period. - for(it = mRequests.begin(); it != mRequests.end(); it++) + for(it = mRequests.begin(); it != mRequests.end();) { if (checkForRequest(it->mToken)) {