RetroShare/retroshare-gui/src/gui/gxsforums
Phenom d96b9b054b Fix clang warnings for
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
106:53: warning: unused parameter 'parent' [-Wunused-parameter]
int RsGxsForumModel::columnCount(const QModelIndex &parent) const
                                                    ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:245:3:
warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
248:12: warning: comparison of integers of different signs: 'int' and
'std::vector::size_type' (aka 'unsigned long') [-Wsign-compare]
    if(row >= mPosts[entry].mChildren.size())
       ~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
299:67: warning: unused parameter 'orientation' [-Wunused-parameter]
QVariant RsGxsForumModel::headerData(int section, Qt::Orientation
orientation, int role) const
                                                                  ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
398:77: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::textColorRole(const ForumModelPostEntry&
fmpe,int column) const
                                                                            ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
419:74: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::filterRole(const ForumModelPostEntry& fmpe,int
column) const
                                                                         ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
498:75: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::missingRole(const ForumModelPostEntry&
fmpe,int column) const
                                                                          ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
540:74: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::pinnedRole(const ForumModelPostEntry& fmpe,int
column) const
                                                                         ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
548:78: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::backgroundRole(const ForumModelPostEntry&
fmpe,int column) const
                                                                             ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
806:111: warning: unused parameter 'useChildTS' [-Wunused-parameter]
void RsGxsForumModel::convertMsgToPostEntry(const RsGxsForumGroup&
mForumGroup,const RsMsgMetaData& msg, bool useChildTS,
ForumModelPostEntry& fentry)
                                                                                                              ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:828:7:
warning: unused variable 'redacted' [-Wunused-variable]
        bool redacted = false;
             ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:880:6:
warning: unused variable 'pos' [-Wunused-variable]
        int pos = 0;
            ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:879:6:
warning: unused variable 'count' [-Wunused-variable]
        int count = msgs.size();
            ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:882:6:
warning: unused variable 'step' [-Wunused-variable]
        int step = 0;
            ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
949:26: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
        for(int32_t i=0;i<v.size();++i)
                        ~^~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
959:23: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
                                        for(int32_t j=0;j<it2-
>second.size();++j)
                                                        ~^~~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
991:26: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
        for(int32_t i=1;i<it->second.size();++i)
                        ~^~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
1005:22: warning: comparison of integers of different signs: 'int' and
'std::vector::size_type' (aka 'unsigned long') [-Wsign-compare]
        for(int i=1;i<it->second.size();++i)
                    ~^~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/
GxsForumThreadWidget.cpp:1038:13: warning: unused function
'cleanupItems' [-Wunused-function]
static void cleanupItems (QList<QTreeWidgetItem *> &items)
            ^
2019-04-04 21:20:25 +02:00
..
CreateGxsForumMsg.cpp Revert "removed HeaderFrame where it's not needed" 2019-01-19 22:36:19 +01:00
CreateGxsForumMsg.h fixed licenses in gxsforums, gxschannels, im_history, msgs 2018-11-15 21:49:12 +01:00
CreateGxsForumMsg.ui Revert "removed HeaderFrame where it's not needed" 2019-01-19 22:36:19 +01:00
GxsForumGroupDialog.cpp automatically add moderator rights to the owner of a forum 2018-12-24 11:47:33 +01:00
GxsForumGroupDialog.h fixed licenses in gxsforums, gxschannels, im_history, msgs 2018-11-15 21:49:12 +01:00
GxsForumModel.cpp Fix clang warnings for 2019-04-04 21:20:25 +02:00
GxsForumModel.h Fix retroshare-gui compilation after RsReputations refactoring 2019-02-16 11:42:22 -03:00
GxsForumsDialog.cpp Fix clang warning for 2019-04-04 21:20:25 +02:00
GxsForumsDialog.h fixed licenses in gxsforums, gxschannels, im_history, msgs 2018-11-15 21:49:12 +01:00
GxsForumThreadWidget.cpp Fix clang warnings for 2019-04-04 21:20:25 +02:00
GxsForumThreadWidget.h Fix Warnings for 'ForumModelPostEntry' defined as a struct here but 2019-02-15 00:04:00 +01:00
GxsForumThreadWidget.ui fixed stylsheet and spacing 2019-01-15 21:26:50 +01:00
GxsForumUserNotify.cpp fixed licenses in gxsforums, gxschannels, im_history, msgs 2018-11-15 21:49:12 +01:00
GxsForumUserNotify.h fixed licenses in gxsforums, gxschannels, im_history, msgs 2018-11-15 21:49:12 +01:00