mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-30 20:36:36 -05:00
fixed small bug in box initialization
This commit is contained in:
parent
a67a35624d
commit
14d29a4490
4 changed files with 2 additions and 23 deletions
|
|
@ -48,10 +48,10 @@ const QString RsMessageModel::FilterString("filtered");
|
|||
RsMessageModel::RsMessageModel(QObject *parent)
|
||||
: QAbstractItemModel(parent)
|
||||
{
|
||||
mFilteringEnabled=false;
|
||||
mCurrentBox = BOX_NONE;
|
||||
mQuickViewFilter = QUICK_VIEW_ALL;
|
||||
mFilterType = FILTER_TYPE_NONE;
|
||||
mFilterStrings.clear();
|
||||
}
|
||||
|
||||
void RsMessageModel::preMods()
|
||||
|
|
@ -63,15 +63,6 @@ void RsMessageModel::postMods()
|
|||
emit dataChanged(createIndex(0,0,(void*)NULL), createIndex(mMessages.size()-1,COLUMN_THREAD_NB_COLUMNS-1,(void*)NULL));
|
||||
}
|
||||
|
||||
// void RsGxsForumModel::setSortMode(SortMode mode)
|
||||
// {
|
||||
// preMods();
|
||||
//
|
||||
// mSortMode = mode;
|
||||
//
|
||||
// postMods();
|
||||
// }
|
||||
|
||||
int RsMessageModel::rowCount(const QModelIndex& parent) const
|
||||
{
|
||||
if(!parent.isValid())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue