QItemSelection: Use public constructor from baseclass
Addresses code review comment. Change-Id: I51c1d790217346358e15ed5ca750ea397a765406 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
9662ff67ce
commit
654156fb79
@ -210,7 +210,7 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QItemSelectionModel::SelectionFlags)
|
||||
class QItemSelection : public QList<QItemSelectionRange>
|
||||
{
|
||||
public:
|
||||
QItemSelection() noexcept : QList<QItemSelectionRange>() {}
|
||||
using QList<QItemSelectionRange>::QList;
|
||||
Q_CORE_EXPORT QItemSelection(const QModelIndex &topLeft, const QModelIndex &bottomRight);
|
||||
|
||||
// reusing QList::swap() here is OK!
|
||||
|
Loading…
x
Reference in New Issue
Block a user