diff options
author | wm4 <wm4@nowhere> | 2014-10-16 21:18:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-16 21:18:01 +0200 |
commit | b836a2295c7abd95ecdadec81ea83312fcdebfc0 (patch) | |
tree | b1008b5b21bf1d5a2b501d16e8f25d74291f561b /DOCS/client_api_examples | |
parent | dc5d60611ebdbf281ccffff1583e254610cf6f0a (diff) |
DOCS/client_api_examples: qtexample: embedding works on Cocoa
Diffstat (limited to 'DOCS/client_api_examples')
-rw-r--r-- | DOCS/client_api_examples/qtexample.cpp | 3 |
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); |