fix(sharing): Sharing dialog test crash
Signed-off-by: Claudio Cambra <[email protected]>
This commit is contained in:
1 file changed
+2
@@ -222,6 +222,8 @@ class TestSharingDialog : public QObject
|
||||
|
||||
QVERIFY(dialogObject->setProperty("hasSelectedShare", false));
|
||||
QCOMPARE(shareStackLayout->property("currentIndex").toInt(), 0);
|
||||
QVERIFY(dialogObject->setProperty("selectedShare", QVariant::fromValue<Share *>(nullptr)));
|
||||
QCoreApplication::processEvents();
|
||||
|
||||
dialog->close();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user