mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Removed unnecessary icons from main tree Channel & Forums
* Removed unnecessary icons from the main tree Channel & Forums * Fixed to display the Flag icon for the Distribution column
This commit is contained in:
parent
991c07116b
commit
15afbc32cf
@ -165,13 +165,13 @@ QString GxsChannelDialog::icon(IconType type)
|
||||
case ICON_NEW:
|
||||
return ":/icons/png/add.png";
|
||||
case ICON_YOUR_GROUP:
|
||||
return ":/icons/png/channel.png";
|
||||
return "";
|
||||
case ICON_SUBSCRIBED_GROUP:
|
||||
return ":/icons/png/channel-subscribed.png";
|
||||
return "";
|
||||
case ICON_POPULAR_GROUP:
|
||||
return ":/icons/png/channel-popular.png";
|
||||
return "";
|
||||
case ICON_OTHER_GROUP:
|
||||
return ":/icons/png/channel-other.png";
|
||||
return "";
|
||||
case ICON_SEARCH:
|
||||
return ":/images/find.png";
|
||||
case ICON_DEFAULT:
|
||||
|
@ -348,7 +348,6 @@ QVariant RsGxsForumModel::headerData(int section, Qt::Orientation /*orientation*
|
||||
case COLUMN_THREAD_TITLE: return tr("Title");
|
||||
case COLUMN_THREAD_DATE: return tr("Date");
|
||||
case COLUMN_THREAD_AUTHOR: return tr("Author");
|
||||
case COLUMN_THREAD_DISTRIBUTION: return tr("Distribution");
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
@ -356,7 +355,7 @@ QVariant RsGxsForumModel::headerData(int section, Qt::Orientation /*orientation*
|
||||
if(role == Qt::DecorationRole)
|
||||
switch(section)
|
||||
{
|
||||
case COLUMN_THREAD_DISTRIBUTION: return QIcon(":/icons/flag_green.png");
|
||||
case COLUMN_THREAD_DISTRIBUTION: return QIcon(":/icons/flag-green.png");
|
||||
case COLUMN_THREAD_READ: return QIcon(":/images/message-state-read.png");
|
||||
default:
|
||||
return QVariant();
|
||||
|
@ -151,13 +151,13 @@ QString GxsForumsDialog::icon(IconType type)
|
||||
case ICON_NEW:
|
||||
return ":/icons/png/add.png";
|
||||
case ICON_YOUR_GROUP:
|
||||
return ":/icons/png/feedreader.png";
|
||||
return "";
|
||||
case ICON_SUBSCRIBED_GROUP:
|
||||
return ":/icons/png/feed-subscribed.png";
|
||||
return "";
|
||||
case ICON_POPULAR_GROUP:
|
||||
return ":/icons/png/feed-popular.png";
|
||||
return "";
|
||||
case ICON_OTHER_GROUP:
|
||||
return ":/icons/png/feed-other.png";
|
||||
return "";
|
||||
case ICON_SEARCH:
|
||||
return ":/images/find.png";
|
||||
case ICON_DEFAULT:
|
||||
|
@ -74,9 +74,6 @@
|
||||
<file>icons/png/exit.png</file>
|
||||
<file>icons/png/feedreader-notify.png</file>
|
||||
<file>icons/png/feedreader.png</file>
|
||||
<file>icons/png/feed-other.png</file>
|
||||
<file>icons/png/feed-popular.png</file>
|
||||
<file>icons/png/feed-subscribed.png</file>
|
||||
<file>icons/png/filesharing-notify.png</file>
|
||||
<file>icons/png/filesharing.png</file>
|
||||
<file>icons/png/font.png</file>
|
||||
@ -244,9 +241,6 @@
|
||||
<file>icons/yandex.png</file>
|
||||
<file>icons/png/markdown-mark.png</file>
|
||||
<file>icons/png/channel.png</file>
|
||||
<file>icons/png/channel-other.png</file>
|
||||
<file>icons/png/channel-popular.png</file>
|
||||
<file>icons/png/channel-subscribed.png</file>
|
||||
<file>icons/png/circles-black.png</file>
|
||||
<file>icons/png/circles-gray.png</file>
|
||||
<file>icons/png/circles-notify.png</file>
|
||||
|
Loading…
Reference in New Issue
Block a user