mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 17:07:17 -05:00
Fix clang warning for
../../../trunk/retroshare-gui/src/gui/Posted/PostedDialog.cpp:99:10: warning: enumeration value 'ICON_SEARCH' not handled in switch [- Wswitch] switch (type) { ^
This commit is contained in:
parent
e2d64c912e
commit
9310be075d
@ -109,6 +109,8 @@ QString PostedDialog::icon(IconType type)
|
||||
return ":/icons/png/feed-popular.png";
|
||||
case ICON_OTHER_GROUP:
|
||||
return ":/icons/png/feed-other.png";
|
||||
case ICON_SEARCH:
|
||||
return ":/images/find.png";
|
||||
case ICON_DEFAULT:
|
||||
return "";
|
||||
}
|
||||
|
@ -125,6 +125,8 @@ QString GxsForumsDialog::icon(IconType type)
|
||||
return ":/icons/png/feed-popular.png";
|
||||
case ICON_OTHER_GROUP:
|
||||
return ":/icons/png/feed-other.png";
|
||||
case ICON_SEARCH:
|
||||
return ":/images/find.png";
|
||||
case ICON_DEFAULT:
|
||||
return ":/icons/png/forums-default.png";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user