From 33c58773d140d43f629ab3bdced59db6d1d30c0b Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Tue, 30 Oct 2018 16:33:42 +0800 Subject: QString to char* --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg