Updated displayOverlay's implementation & documentation (ticket #903)

This commit is contained in:
Alexander Reshetnikov
2012-03-30 19:58:44 +00:00
parent 7a017973bf
commit 3a564d1ae8
4 changed files with 15 additions and 15 deletions

View File

@@ -927,7 +927,7 @@ void GuiReceiver::displayInfo(QString name, QString text, int delayms)
{
QPointer<CvWindow> w = icvFindWindowByName(name);
if (w && delayms > 0)
if (w)
w->displayInfo(text, delayms);
}
@@ -936,7 +936,7 @@ void GuiReceiver::displayStatusBar(QString name, QString text, int delayms)
{
QPointer<CvWindow> w = icvFindWindowByName(name);
if (w && delayms > 0)
if (w)
w->displayStatusBar(text, delayms);
}
@@ -2407,7 +2407,7 @@ void DefaultViewPort::startDisplayInfo(QString text, int delayms)
stopDisplayInfo();
infoText = text;
timerDisplay->start(delayms);
if (delayms > 0) timerDisplay->start(delayms);
drawInfo = true;
}