Fix clang warning: unused variable 'kRecognTagClass_DEVELOPMENT'

/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:62: warning: unused
variable 'kRecognTagClass_DEVELOPMENT' [-Wunused-const-variable]
const int kRecognTagClass_DEVELOPMENT = 1;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:64: warning: unused
variable 'kRecognTagType_Dev_Ambassador' [-Wunused-const-variable]
const int kRecognTagType_Dev_Ambassador         = 1;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:65: warning: unused
variable 'kRecognTagType_Dev_Contributor' [-Wunused-const-variable]
const int kRecognTagType_Dev_Contributor        = 2;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:66: warning: unused
variable 'kRecognTagType_Dev_Translator' [-Wunused-const-variable]
const int kRecognTagType_Dev_Translator         = 3;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:67: warning: unused
variable 'kRecognTagType_Dev_Patcher' [-Wunused-const-variable]
const int kRecognTagType_Dev_Patcher            = 4;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:68: warning: unused
variable 'kRecognTagType_Dev_Developer' [-Wunused-const-variable]
const int kRecognTagType_Dev_Developer          = 5;
This commit is contained in:
Phenom 2017-07-15 18:54:21 +02:00 committed by csoler
parent f2fb05db58
commit a50c4ca8d2

View File

@ -59,13 +59,13 @@
#define MAX_ATTEMPTS 10
#define MAX_PROCESS_COUNT_PER_TIMER 50
const int kRecognTagClass_DEVELOPMENT = 1;
const int kRecognTagType_Dev_Ambassador = 1;
const int kRecognTagType_Dev_Contributor = 2;
const int kRecognTagType_Dev_Translator = 3;
const int kRecognTagType_Dev_Patcher = 4;
const int kRecognTagType_Dev_Developer = 5;
//const int kRecognTagClass_DEVELOPMENT = 1;
//
//const int kRecognTagType_Dev_Ambassador = 1;
//const int kRecognTagType_Dev_Contributor = 2;
//const int kRecognTagType_Dev_Translator = 3;
//const int kRecognTagType_Dev_Patcher = 4;
//const int kRecognTagType_Dev_Developer = 5;
void ReputationItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const