fix test
Change-Id: Ib7698dfe3880e23355fd1c0acfcc3de2cc7c4d2d
This commit is contained in:
parent
78ab028d52
commit
72b9a37fe9
@ -196,7 +196,7 @@ void CoronaTest::addRemoveApplets()
|
||||
//remove action present
|
||||
QVERIFY(m_corona->containments().first()->applets().first()->actions()->action("remove"));
|
||||
//kill an applet
|
||||
m_corona->containments().first()->applets().first()->actions()->action("remove")->trigger();
|
||||
m_corona->containments().first()->applets().first()->destroy();
|
||||
|
||||
QSignalSpy spy(m_corona->containments().first()->applets().first(), SIGNAL(destroyed()));
|
||||
QVERIFY(spy.wait(1000));
|
||||
|
@ -222,7 +222,7 @@ void AppletPrivate::showConfigurationRequiredMessage(bool show, const QString &r
|
||||
|
||||
void AppletPrivate::askDestroy()
|
||||
{
|
||||
if (q->immutability() != Types::Mutable || transient || !started) {
|
||||
if (q->immutability() != Types::Mutable || !started) {
|
||||
return; //don't double delete
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user