diff options
Diffstat (limited to 'Swift/QtUI/EventViewer/main.cpp')
-rw-r--r-- | Swift/QtUI/EventViewer/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swift/QtUI/EventViewer/main.cpp b/Swift/QtUI/EventViewer/main.cpp index 647010d..1e8163b 100644 --- a/Swift/QtUI/EventViewer/main.cpp +++ b/Swift/QtUI/EventViewer/main.cpp @@ -14,7 +14,8 @@ int main(int argc, char *argv[]) message1->setBody("Oooh, shiny"); boost::shared_ptr<Swift::MessageEvent> event1(new Swift::MessageEvent(message1)); viewer->addEvent(boost::dynamic_pointer_cast<Swift::Event>(event1), true); - viewer->addEvent(boost::dynamic_pointer_cast<Swift::Event>(event1), false); - viewer->addEvent(boost::dynamic_pointer_cast<Swift::Event>(event1), false); + for (int i = 0; i < 100; i++) { + viewer->addEvent(boost::dynamic_pointer_cast<Swift::Event>(event1), false); + } return app.exec(); } |