fixed missing case entries in ForumModel

This commit is contained in:
csoler 2018-11-22 11:24:05 +01:00
parent 59220b5c85
commit 3edd1dd0dd
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -256,10 +256,13 @@ QVariant RsGxsForumModel::headerData(int section, Qt::Orientation orientation, i
switch(section) switch(section)
{ {
default:
case COLUMN_THREAD_TITLE: return tr("Title"); case COLUMN_THREAD_TITLE: return tr("Title");
case COLUMN_THREAD_DATE: return tr("Date"); case COLUMN_THREAD_DATE: return tr("Date");
case COLUMN_THREAD_AUTHOR: return tr("Author"); case COLUMN_THREAD_AUTHOR: return tr("Author");
case COLUMN_THREAD_DISTRIBUTION: return QString("[icon missing]") ;
case COLUMN_THREAD_READ: return QString("[icon missing]") ;
default:
return QString("[unused]");
} }
} }