diff --git a/libs/pigment/tests/TestColorBlending.cpp b/libs/pigment/tests/TestColorBlending.cpp index 1c6e6bd..d03e1a6 100644 --- a/libs/pigment/tests/TestColorBlending.cpp +++ b/libs/pigment/tests/TestColorBlending.cpp @@ -10,8 +10,12 @@ void TestColorBlending::test() //w.show(); //QApplication app(); - TestColorBlendingWindow *demo = new TestColorBlendingWindow; + QEventLoop loop; + + TestColorBlendingWindow *demo = new TestColorBlendingWindow(); demo->show(); + + loop.exec(); //demo->exec(); }