mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix CppCheck in FlowLayout.h
/retroshare-gui/src/gui/common/FlowLayout.h:77: warning: Cppcheck(uninitMemberVar): Member variable 'FlowLayoutItem::m_isSelected' is not initialized in the constructor. /retroshare-gui/src/gui/common/FlowLayout.h:77: warning: Cppcheck(uninitMemberVar): Member variable 'FlowLayoutItem::m_isCurrent' is not initialized in the constructor.
This commit is contained in:
parent
25f1a919e0
commit
88d84e0249
@ -74,7 +74,9 @@ class FlowLayoutItem : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
FlowLayoutItem(QString name=QString(), QWidget *parent=0) : QWidget(parent), m_myName(name){
|
||||
FlowLayoutItem(QString name=QString(), QWidget *parent=0)
|
||||
: QWidget(parent), m_myName(name), m_isSelected(false), m_isCurrent(false)
|
||||
{
|
||||
setFocusPolicy(Qt::StrongFocus);
|
||||
setAcceptDrops(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user