|
|
|
@@ -485,6 +485,7 @@ public: |
|
|
|
if (backgroundProcessCheck.isBackgroundProcess())
|
|
|
|
{
|
|
|
|
repaintEvent.wait (300);
|
|
|
|
repaintEvent.reset();
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
@@ -497,7 +498,6 @@ public: |
|
|
|
{
|
|
|
|
repaintEvent.wait (-1);
|
|
|
|
renderFrame();
|
|
|
|
repaintEvent.reset();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
#endif
|
|
|
|
@@ -505,6 +505,8 @@ public: |
|
|
|
repaintEvent.wait (5); // failed to render, so avoid a tight fail-loop.
|
|
|
|
else if (! context.continuousRepaint && ! shouldExit())
|
|
|
|
repaintEvent.wait (-1);
|
|
|
|
|
|
|
|
repaintEvent.reset();
|
|
|
|
}
|
|
|
|
|
|
|
|
hasInitialised = false;
|
|
|
|
|