Corrected member initialisation order (addressing -Wreorder warnings)
This commit is contained in:
@@ -12,8 +12,8 @@ namespace Widgets
|
||||
ListScene::ListItemSetType&& items,
|
||||
QGraphicsView* parent
|
||||
)
|
||||
: parent(parent)
|
||||
, QGraphicsScene(parent)
|
||||
: QGraphicsScene(parent)
|
||||
, parent(parent)
|
||||
{
|
||||
this->setItemIndexMethod(QGraphicsScene::NoIndex);
|
||||
this->setItems(std::move(items));
|
||||
|
||||
Reference in New Issue
Block a user