mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed debug info in db access
This commit is contained in:
parent
6c1f09a53b
commit
0f5fd198a4
@ -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>
|
||||||
|
@ -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) {}
|
||||||
|
@ -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)) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user