summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-05-31 13:02:07 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-05-31 13:02:07 +0900
commit946f0be3137195ce1fef644f1ec9f97026a3b289 (patch)
tree2a17ef77009bf08ef97cd0ab9b1174b901b3d5e9
parent27c26952a5d1905f11ea4d8fe3d303fee82efd56 (diff)
fix print log
-rw-r--r--app/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 6122733..489c72b 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -76,7 +76,7 @@ int main(int argc, char *argv[])
qhs->init(port, token.c_str());
// Set the event handler for Event_TapShortcut which will activate the surface for windowmanager
qhs->set_event_handler(QLibHomeScreen::Event_ShowWindow, [qwm, myname](json_object *object){
- qDebug("Surface %s got tapShortcut\n", myname);
+ qDebug("Surface %s got tapShortcut\n", qPrintable(myname));
qwm->activateWindow(myname, "master.split.sub");
});
#endif