mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-29 03:46:46 -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
2 changed files with 4 additions and 0 deletions
|
|
@ -109,6 +109,8 @@ QString PostedDialog::icon(IconType type)
|
||||||
return ":/icons/png/feed-popular.png";
|
return ":/icons/png/feed-popular.png";
|
||||||
case ICON_OTHER_GROUP:
|
case ICON_OTHER_GROUP:
|
||||||
return ":/icons/png/feed-other.png";
|
return ":/icons/png/feed-other.png";
|
||||||
|
case ICON_SEARCH:
|
||||||
|
return ":/images/find.png";
|
||||||
case ICON_DEFAULT:
|
case ICON_DEFAULT:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,8 @@ QString GxsForumsDialog::icon(IconType type)
|
||||||
return ":/icons/png/feed-popular.png";
|
return ":/icons/png/feed-popular.png";
|
||||||
case ICON_OTHER_GROUP:
|
case ICON_OTHER_GROUP:
|
||||||
return ":/icons/png/feed-other.png";
|
return ":/icons/png/feed-other.png";
|
||||||
|
case ICON_SEARCH:
|
||||||
|
return ":/images/find.png";
|
||||||
case ICON_DEFAULT:
|
case ICON_DEFAULT:
|
||||||
return ":/icons/png/forums-default.png";
|
return ":/icons/png/forums-default.png";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue