diff --git a/tests/units/widgets/quickselectdialogtest.cpp b/tests/units/widgets/quickselectdialogtest.cpp --- a/tests/units/widgets/quickselectdialogtest.cpp +++ b/tests/units/widgets/quickselectdialogtest.cpp @@ -72,7 +72,7 @@ // GIVEN // a model with items - auto model = new QStandardItemModel(); + auto model = new QStandardItemModel(this); auto inbox = new QStandardItem(QStringLiteral("Inbox")); auto workday = new QStandardItem(QStringLiteral("Workday")); auto projects= new QStandardItem(QStringLiteral("Projects"));