diff --git a/examples/gui_window/gui_window.cpp b/examples/gui_window/gui_window.cpp index 7afbd04..cdefedb 100644 --- a/examples/gui_window/gui_window.cpp +++ b/examples/gui_window/gui_window.cpp @@ -18,7 +18,7 @@ class ExampleWindow : public KDGui::Window { spdlog::info("{}() buttons = {} at pos = ({}, {})", __FUNCTION__, - ev->buttons(), + ev->buttons().toInt(), ev->xPos(), ev->yPos()); } @@ -27,7 +27,7 @@ class ExampleWindow : public KDGui::Window { spdlog::info("{}() buttons = {} at pos = ({}, {})", __FUNCTION__, - ev->buttons(), + ev->buttons().toInt(), ev->xPos(), ev->yPos()); } @@ -36,7 +36,7 @@ class ExampleWindow : public KDGui::Window { spdlog::info("{}() buttons = {} at pos = ({}, {})", __FUNCTION__, - ev->buttons(), + ev->buttons().toInt(), ev->xPos(), ev->yPos()); }