summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-16 21:18:01 +0200
committerwm4 <wm4@nowhere>2014-10-16 21:18:01 +0200
commitb836a2295c7abd95ecdadec81ea83312fcdebfc0 (patch)
treeb1008b5b21bf1d5a2b501d16e8f25d74291f561b /DOCS
parentdc5d60611ebdbf281ccffff1583e254610cf6f0a (diff)
downloadmpv-b836a2295c7abd95ecdadec81ea83312fcdebfc0.tar.bz2
mpv-b836a2295c7abd95ecdadec81ea83312fcdebfc0.tar.xz
DOCS/client_api_examples: qtexample: embedding works on Cocoa
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/client_api_examples/qtexample.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/DOCS/client_api_examples/qtexample.cpp b/DOCS/client_api_examples/qtexample.cpp
index b4ec6e6630..0cb02421e2 100644
--- a/DOCS/client_api_examples/qtexample.cpp
+++ b/DOCS/client_api_examples/qtexample.cpp
@@ -56,8 +56,7 @@ MainWindow::MainWindow(QWidget *parent) :
throw "can't create mpv instance";
// Create a video child window. Force Qt to create a native window, and
- // pass the window ID to the mpv wid option. This doesn't work on OSX,
- // because Cocoa doesn't support this form of embedding.
+ // pass the window ID to the mpv wid option. Works on: X11, win32, Cocoa
mpv_container = new QWidget(this);
setCentralWidget(mpv_container);
mpv_container->setAttribute(Qt::WA_NativeWindow);