summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 7e56138..0881659 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -78,6 +78,7 @@ int main(int argc, char *argv[])
}
// Create an event callback against an event type. Here a lambda is called when SyncDraw event occurs
qwm->set_event_handler(QLibWindowmanager::Event_SyncDraw, [qwm, myname](json_object *object) {
+ Q_UNUSED(object);
fprintf(stderr, "Surface got syncDraw!\n");
qwm->endDraw(myname);
});