diff --git a/tests/gui/TestGui.cpp b/tests/gui/TestGui.cpp index 9f1e7abc2..449f13a06 100644 --- a/tests/gui/TestGui.cpp +++ b/tests/gui/TestGui.cpp @@ -898,7 +898,8 @@ void TestGui::testDatabaseSettings() m_db->metadata()->setName("Save"); triggerAction("actionChangeDatabaseSettings"); QWidget* dbSettingsWidget = m_dbWidget->findChild("databaseSettingsWidget"); - QSpinBox* transformRoundsSpinBox = dbSettingsWidget->findChild("kdfParams0"); + QSpinBox* transformRoundsSpinBox = dbSettingsWidget->findChild("transformRoundsSpinBox"); + QVERIFY(transformRoundsSpinBox != nullptr); transformRoundsSpinBox->setValue(100); QTest::keyClick(transformRoundsSpinBox, Qt::Key_Enter); // wait for modified timer