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:
Phenom 2019-02-23 17:40:44 +01:00
parent e2d64c912e
commit 9310be075d
2 changed files with 4 additions and 0 deletions

View File

@ -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 "";
}

View File

@ -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";
}