diff options
Diffstat (limited to 'testIvyQt.cxx')
-rw-r--r-- | testIvyQt.cxx | 5 |
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); } |