mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 16:09:37 -05:00
Merge pull request #1909 from PhenomRetroShare/Fix_PR1907
Fix PR#1907 by setting bool in the place that other.
This commit is contained in:
commit
d32face391
@ -62,9 +62,9 @@ GxsChannelPostItem::GxsChannelPostItem(FeedHolder *feedHolder, uint32_t feedId,
|
|||||||
v.push_back(messageId);
|
v.push_back(messageId);
|
||||||
|
|
||||||
setMessageVersions(v) ;
|
setMessageVersions(v) ;
|
||||||
setup();
|
setup();
|
||||||
mLoaded = false;
|
|
||||||
// no call to loadGroup() here because we have it already.
|
// no call to loadGroup() here because we have it already.
|
||||||
}
|
}
|
||||||
|
|
||||||
GxsChannelPostItem::GxsChannelPostItem(FeedHolder *feedHolder, uint32_t feedId, const RsGxsGroupId& groupId, const RsGxsMessageId &messageId, bool isHome, bool autoUpdate,const std::set<RsGxsMessageId>& older_versions) :
|
GxsChannelPostItem::GxsChannelPostItem(FeedHolder *feedHolder, uint32_t feedId, const RsGxsGroupId& groupId, const RsGxsMessageId &messageId, bool isHome, bool autoUpdate,const std::set<RsGxsMessageId>& older_versions) :
|
||||||
@ -82,9 +82,9 @@ GxsChannelPostItem::GxsChannelPostItem(FeedHolder *feedHolder, uint32_t feedId,
|
|||||||
v.push_back(messageId);
|
v.push_back(messageId);
|
||||||
|
|
||||||
setMessageVersions(v) ;
|
setMessageVersions(v) ;
|
||||||
setup();
|
setup();
|
||||||
mLoaded = false;
|
|
||||||
loadGroup();
|
loadGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
// GxsChannelPostItem::GxsChannelPostItem(FeedHolder *feedHolder, uint32_t feedId, const RsGxsChannelPost& post, bool isHome, bool autoUpdate,const std::set<RsGxsMessageId>& older_versions) :
|
// GxsChannelPostItem::GxsChannelPostItem(FeedHolder *feedHolder, uint32_t feedId, const RsGxsChannelPost& post, bool isHome, bool autoUpdate,const std::set<RsGxsMessageId>& older_versions) :
|
||||||
@ -173,6 +173,7 @@ void GxsChannelPostItem::setup()
|
|||||||
|
|
||||||
mInFill = false;
|
mInFill = false;
|
||||||
mCloseOnRead = false;
|
mCloseOnRead = false;
|
||||||
|
mLoaded = false;
|
||||||
|
|
||||||
/* clear ui */
|
/* clear ui */
|
||||||
ui->titleLabel->setText(tr("Loading..."));
|
ui->titleLabel->setText(tr("Loading..."));
|
||||||
|
Loading…
Reference in New Issue
Block a user