mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 06:36:07 -04:00
some cppcheck and clang-tidy fixies
This commit is contained in:
parent
ac7face247
commit
98badfb4a2
9 changed files with 16 additions and 14 deletions
|
@ -296,7 +296,7 @@ void TestEntryModel::testProxyModel()
|
|||
QSignalSpy spyColumnRemove(modelProxy, SIGNAL(columnsAboutToBeRemoved(QModelIndex, int, int)));
|
||||
modelProxy->hideColumn(0, true);
|
||||
QCOMPARE(modelProxy->columnCount(), 12);
|
||||
QVERIFY(spyColumnRemove.size() >= 1);
|
||||
QVERIFY(!spyColumnRemove.isEmpty());
|
||||
|
||||
int oldSpyColumnRemoveSize = spyColumnRemove.size();
|
||||
modelProxy->hideColumn(0, true);
|
||||
|
@ -318,7 +318,7 @@ void TestEntryModel::testProxyModel()
|
|||
QSignalSpy spyColumnInsert(modelProxy, SIGNAL(columnsAboutToBeInserted(QModelIndex, int, int)));
|
||||
modelProxy->hideColumn(0, false);
|
||||
QCOMPARE(modelProxy->columnCount(), 13);
|
||||
QVERIFY(spyColumnInsert.size() >= 1);
|
||||
QVERIFY(!spyColumnInsert.isEmpty());
|
||||
|
||||
int oldSpyColumnInsertSize = spyColumnInsert.size();
|
||||
modelProxy->hideColumn(0, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue