mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-12 15:59:58 -05:00
Disable some qDebug() noise in ModelTest.
This commit is contained in:
parent
849f83e030
commit
a8b3771f15
@ -536,7 +536,7 @@ void ModelTest::layoutChanged()
|
|||||||
*/
|
*/
|
||||||
void ModelTest::rowsAboutToBeRemoved ( const QModelIndex &parent, int start, int end )
|
void ModelTest::rowsAboutToBeRemoved ( const QModelIndex &parent, int start, int end )
|
||||||
{
|
{
|
||||||
qDebug() << "ratbr" << parent << start << end;
|
//qDebug() << "ratbr" << parent << start << end;
|
||||||
Changing c;
|
Changing c;
|
||||||
c.parent = parent;
|
c.parent = parent;
|
||||||
c.oldSize = model->rowCount ( parent );
|
c.oldSize = model->rowCount ( parent );
|
||||||
@ -552,7 +552,7 @@ qDebug() << "ratbr" << parent << start << end;
|
|||||||
*/
|
*/
|
||||||
void ModelTest::rowsRemoved ( const QModelIndex & parent, int start, int end )
|
void ModelTest::rowsRemoved ( const QModelIndex & parent, int start, int end )
|
||||||
{
|
{
|
||||||
qDebug() << "rr" << parent << start << end;
|
// qDebug() << "rr" << parent << start << end;
|
||||||
Changing c = remove.pop();
|
Changing c = remove.pop();
|
||||||
QVERIFY( c.parent == parent );
|
QVERIFY( c.parent == parent );
|
||||||
QVERIFY( c.oldSize - ( end - start + 1 ) == model->rowCount ( parent ) );
|
QVERIFY( c.oldSize - ( end - start + 1 ) == model->rowCount ( parent ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user