tst_qtableview: fix virtual-override clang warning
Change-Id: I40391890c988ce15d8fa65898976bf0fdc446992 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
parent
edd436a268
commit
dcbf704bc0
@ -434,7 +434,7 @@ public:
|
||||
{
|
||||
QTableView::setModel(model);
|
||||
connect(selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)),
|
||||
this, SLOT(currentChanged(QModelIndex,QModelIndex)));
|
||||
this, SLOT(slotCurrentChanged(QModelIndex,QModelIndex)));
|
||||
connect(selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
|
||||
this, SLOT(itemSelectionChanged(QItemSelection,QItemSelection)));
|
||||
}
|
||||
@ -495,7 +495,7 @@ public:
|
||||
|
||||
bool checkSignalOrder;
|
||||
public slots:
|
||||
void currentChanged(QModelIndex , QModelIndex ) {
|
||||
void slotCurrentChanged(QModelIndex, QModelIndex) {
|
||||
hasCurrentChanged++;
|
||||
if (checkSignalOrder)
|
||||
QVERIFY(hasCurrentChanged > hasSelectionChanged);
|
||||
|
Loading…
x
Reference in New Issue
Block a user