src/radioGroup.cpp

changeset 941
f895379d7fab
parent 931
85080f7a1c20
equal deleted inserted replaced
940:edc716c1d8e1 941:f895379d7fab
55 { 55 {
56 m_vert = orient == Qt::Vertical; 56 m_vert = orient == Qt::Vertical;
57 57
58 m_buttonGroup = new QButtonGroup; 58 m_buttonGroup = new QButtonGroup;
59 m_oldId = m_curId = 0; 59 m_oldId = m_curId = 0;
60 m_coreLayout = null; 60 m_coreLayout = nullptr;
61 61
62 m_coreLayout = new QBoxLayout ( (orient == Qt::Vertical) ? QBoxLayout::LeftToRight : QBoxLayout::TopToBottom); 62 m_coreLayout = new QBoxLayout ( (orient == Qt::Vertical) ? QBoxLayout::LeftToRight : QBoxLayout::TopToBottom);
63 setLayout (m_coreLayout); 63 setLayout (m_coreLayout);
64 64
65 // Init the first row with a break 65 // Init the first row with a break

mercurial