summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-10-30 16:32:08 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-10-30 16:32:08 +0800
commitbdd4c46c5111382f0c8177bfaee5d3ec1633f389 (patch)
treeaddf51617432459f28c0d428eaf44ffeae14fdcd
parent0abea4472afdb4517b2270e716d30276d5a811e1 (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 34d3d64..a1cd02e 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -87,7 +87,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);
});