mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 17:15:31 -05:00
Forgot to clear the list of files when a channel is loaded.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
899aa36fb8
commit
c2624309e9
@ -118,6 +118,11 @@ void GxsChannelFilesWidget::addFiles(const RsGxsChannelPost &post, bool related)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GxsChannelFilesWidget::clear()
|
||||||
|
{
|
||||||
|
ui->treeWidget->clear();
|
||||||
|
}
|
||||||
|
|
||||||
void GxsChannelFilesWidget::setFilter(const QString &text, int type)
|
void GxsChannelFilesWidget::setFilter(const QString &text, int type)
|
||||||
{
|
{
|
||||||
if (mFilterText == text && mFilterType == type) {
|
if (mFilterText == text && mFilterType == type) {
|
||||||
|
@ -44,6 +44,7 @@ public:
|
|||||||
~GxsChannelFilesWidget();
|
~GxsChannelFilesWidget();
|
||||||
|
|
||||||
void addFiles(const RsGxsChannelPost &post, bool related);
|
void addFiles(const RsGxsChannelPost &post, bool related);
|
||||||
|
void clear();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void setFilter(const QString &text, int type);
|
void setFilter(const QString &text, int type);
|
||||||
|
@ -380,6 +380,7 @@ void GxsChannelPostsWidget::insertChannelPosts(std::vector<RsGxsChannelPost> &po
|
|||||||
void GxsChannelPostsWidget::clearPosts()
|
void GxsChannelPostsWidget::clearPosts()
|
||||||
{
|
{
|
||||||
ui->feedWidget->clear();
|
ui->feedWidget->clear();
|
||||||
|
ui->fileWidget->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GxsChannelPostsWidget::subscribeGroup(bool subscribe)
|
void GxsChannelPostsWidget::subscribeGroup(bool subscribe)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user