summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-10-30 16:39:40 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-10-30 16:39:40 +0800
commit629e6bb4c5c9f69e56c37ada666a26cf8918e95f (patch)
treeb76a8e06540319db8fc5fafe0f6b2776370644c8
parent2e853ddc9d7cdbb020a51b8f228a0778ebefbaac (diff)
-rw-r--r--app/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 97d52a5..6f3c3c9 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -92,7 +92,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);
});