removed debug info in db access

This commit is contained in:
csoler 2020-03-22 22:06:49 +01:00
parent 6c1f09a53b
commit 0f5fd198a4
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
3 changed files with 2 additions and 4 deletions

View File

@ -25,9 +25,6 @@
* #define RS_DATA_SERVICE_DEBUG_TIME 1 * #define RS_DATA_SERVICE_DEBUG_TIME 1
* #define RS_DATA_SERVICE_DEBUG_CACHE 1 * #define RS_DATA_SERVICE_DEBUG_CACHE 1
****/ ****/
#define RS_DATA_SERVICE_DEBUG 1
#define RS_DATA_SERVICE_DEBUG_TIME 1
#define RS_DATA_SERVICE_DEBUG_CACHE 1
#include <fstream> #include <fstream>
#include <util/rsdir.h> #include <util/rsdir.h>

View File

@ -29,7 +29,6 @@
/*********** /***********
* #define DATA_DEBUG 1 * #define DATA_DEBUG 1
**********/ **********/
#define DATA_DEBUG 1
RsGxsDataAccess::RsGxsDataAccess(RsGeneralDataService* ds) : RsGxsDataAccess::RsGxsDataAccess(RsGeneralDataService* ds) :
mDataStore(ds), mDataMutex("RsGxsDataAccess"), mNextToken(0) {} mDataStore(ds), mDataMutex("RsGxsDataAccess"), mNextToken(0) {}

View File

@ -872,6 +872,7 @@ static QString getDurationString(uint32_t days)
void GxsForumThreadWidget::updateForumDescription() void GxsForumThreadWidget::updateForumDescription()
{ {
std::cerr << "Updating forum description" << std::endl;
if (!mThreadId.isNull()) if (!mThreadId.isNull())
return; return;
@ -1731,6 +1732,7 @@ void GxsForumThreadWidget::updateGroupData()
* after a blocking call to RetroShare API complete */ * after a blocking call to RetroShare API complete */
mForumGroup = group; mForumGroup = group;
mThreadId.clear();
ui->threadTreeWidget->setColumnHidden(RsGxsForumModel::COLUMN_THREAD_DISTRIBUTION, !IS_GROUP_PGP_KNOWN_AUTHED(mForumGroup.mMeta.mSignFlags) && !(IS_GROUP_PGP_AUTHED(mForumGroup.mMeta.mSignFlags))); ui->threadTreeWidget->setColumnHidden(RsGxsForumModel::COLUMN_THREAD_DISTRIBUTION, !IS_GROUP_PGP_KNOWN_AUTHED(mForumGroup.mMeta.mSignFlags) && !(IS_GROUP_PGP_AUTHED(mForumGroup.mMeta.mSignFlags)));
ui->subscribeToolButton->setHidden(IS_GROUP_SUBSCRIBED(mForumGroup.mMeta.mSubscribeFlags)) ; ui->subscribeToolButton->setHidden(IS_GROUP_SUBSCRIBED(mForumGroup.mMeta.mSubscribeFlags)) ;