diff --git a/tests/gui/TestGui.cpp b/tests/gui/TestGui.cpp index 01f165243..babab8ab7 100644 --- a/tests/gui/TestGui.cpp +++ b/tests/gui/TestGui.cpp @@ -328,7 +328,7 @@ void TestGui::testEntryEntropy() QTest::keyClicks(titleEdit, "test"); // Open the password generator - QToolButton* generatorButton = editEntryWidget->findChild("tooglePasswordGeneratorButton"); + QToolButton* generatorButton = editEntryWidget->findChild("togglePasswordGeneratorButton"); QTest::mouseClick(generatorButton, Qt::LeftButton); // Type in some password