diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-10-30 16:33:42 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-10-30 16:33:42 +0800 |
commit | 33c58773d140d43f629ab3bdced59db6d1d30c0b (patch) | |
tree | 543638652a72f77708b5dcb161ca406569c54fac | |
parent | c1904c70ce6dfdaaa6df6dafe0f668a50c3206d1 (diff) |
QString to char*sandbox/wangzhiqiang/private_event
-rw-r--r-- | app/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.cpp b/app/main.cpp index 6a634d6..0bfdd52 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -96,7 +96,7 @@ int main(int argc, char *argv[]) hs->init(port, token.c_str()); // Set the event handler for Event_TapShortcut which will activate the surface for windowmanager hs->set_event_handler(LibHomeScreen::Event_TapShortcut, [qwm, myname](json_object *object){ - qDebug("Surface %s got tapShortcut\n", myname); + qDebug("Surface %s got tapShortcut\n", myname.toStdString().c_str()); qwm->activateSurface(myname); }); #endif |