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:
parent
95dda1050d
commit
cb6be26181
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user