0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

DOCS/client_api_examples: qtexample: remove debugging code

Forgotten.
This commit is contained in:
wm4 2014-10-14 13:20:24 +02:00
parent 95dda1050d
commit cb6be26181

View File

@ -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());