mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 10:46:23 -04: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
2 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue