diff options
author | wm4 <wm4@nowhere> | 2014-10-14 13:20:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-14 13:20:24 +0200 |
commit | cb6be26181e104722c9cd3989af6812a239a0be8 (patch) | |
tree | 928b3f831384f77b9965a3a0934c88d0d881a4f3 /DOCS/client_api_examples | |
parent | 95dda1050d1f364f6fc2695b13060ca82854bb14 (diff) |
DOCS/client_api_examples: qtexample: remove debugging code
Forgotten.
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 d7d114fbd7..b4ec6e6630 100644 --- a/DOCS/client_api_examples/qtexample.cpp +++ b/DOCS/client_api_examples/qtexample.cpp @@ -114,8 +114,7 @@ void MainWindow::handle_mpv_event(mpv_event *event) { if (prop->format == MPV_FORMAT_NODE) { QVariant v = mpv::qt::node_to_variant((mpv_node *)prop->data); - mpv::qt::node_builder x(v); - QVariant v2 = mpv::qt::node_to_variant(x.node()); + // Abuse JSON support for easily printing the mpv_node contents. QJsonDocument d = QJsonDocument::fromVariant(v); append_log("Change property " + QString(prop->name) + ":\n"); append_log(d.toJson().data()); |