From 40c8828460c8889cd9c6fe4ca6a9d7b714e55bc0 Mon Sep 17 00:00:00 2001 From: bustico Date: Wed, 26 Jan 2011 15:33:41 +0000 Subject: better use of SendMsg method --- testIvyQt.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'testIvyQt.cxx') diff --git a/testIvyQt.cxx b/testIvyQt.cxx index ad5094d..1380982 100644 --- a/testIvyQt.cxx +++ b/testIvyQt.cxx @@ -157,10 +157,7 @@ void MyWidget::OnApplicationDisconnected (IvyApplication *app) void MyWidget::sliderChange (int val) { - char msg[256]; - - snprintf (msg, sizeof(msg), "TestIvyQt slider=%d", val); - bus->SendMsg (msg); + bus->SendMsg ("TestIvyQt slider=%d", val); } -- cgit v1.1