diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-22 18:28:19 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:52 +0100 |
commit | 885ed6f0e6e7ca1a8ac37c46e447de63b90c6804 (patch) | |
tree | cf302d6a838bd2faabd0d933783fea83cbc7c6ea | |
parent | f3f2afcf16527965e9707048daf92499a9573f6b (diff) | |
download | usdx-885ed6f0e6e7ca1a8ac37c46e447de63b90c6804.tar.gz usdx-885ed6f0e6e7ca1a8ac37c46e447de63b90c6804.tar.xz usdx-885ed6f0e6e7ca1a8ac37c46e447de63b90c6804.zip |
menu/application: simplified code
-rw-r--r-- | src/menu/application.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp index 7e6c9216..30151169 100644 --- a/src/menu/application.cpp +++ b/src/menu/application.cpp @@ -75,9 +75,8 @@ namespace usdx SDL_Event event; EventManager event_manager; boost::thread event_thread(boost::bind(&EventManager::handle_events, &event_manager)); - DrawableControl *p = new SoftwareMousePointer(this, &event_manager); - p->repaint(); + SoftwareMousePointer pointer(this, &event_manager); LoadingFrame frame(this); running = true; |