Skip to content

Commit 7123d9c

Browse files
committed
Added 1ms delay to let system decorate Qt windows
1 parent b67c64e commit 7123d9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/highgui/src/window_QT.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,7 @@ void GuiReceiver::createWindow(QString name, int flags)
994994

995995
nb_windows++;
996996
new CvWindow(name, flags);
997+
cvWaitKey(1);
997998
}
998999

9991000

0 commit comments

Comments
 (0)