summaryrefslogtreecommitdiff
path: root/testIvyQt.cxx
diff options
context:
space:
mode:
authorbustico2011-01-26 15:33:41 +0000
committerbustico2011-01-26 15:33:41 +0000
commit40c8828460c8889cd9c6fe4ca6a9d7b714e55bc0 (patch)
treeefc4d0de82685636eb8f8a0d3dbc14450a77f2ec /testIvyQt.cxx
parent8fda9a9ea3493a32983935daf634e05e4cc81355 (diff)
downloadivy-cplusplus-40c8828460c8889cd9c6fe4ca6a9d7b714e55bc0.zip
ivy-cplusplus-40c8828460c8889cd9c6fe4ca6a9d7b714e55bc0.tar.gz
ivy-cplusplus-40c8828460c8889cd9c6fe4ca6a9d7b714e55bc0.tar.bz2
ivy-cplusplus-40c8828460c8889cd9c6fe4ca6a9d7b714e55bc0.tar.xz
better use of SendMsg method
Diffstat (limited to 'testIvyQt.cxx')
-rw-r--r--testIvyQt.cxx5
1 files changed, 1 insertions, 4 deletions
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);
}