[Orxonox-commit 410] r2994 - trunk/src/orxonox/overlays/notifications
dafrick at orxonox.net
dafrick at orxonox.net
Wed May 20 16:01:23 CEST 2009
Author: dafrick
Date: 2009-05-20 16:01:22 +0200 (Wed, 20 May 2009)
New Revision: 2994
Modified:
trunk/src/orxonox/overlays/notifications/Notification.cc
trunk/src/orxonox/overlays/notifications/NotificationOverlay.cc
Log:
Small correction in Notifications
Modified: trunk/src/orxonox/overlays/notifications/Notification.cc
===================================================================
--- trunk/src/orxonox/overlays/notifications/Notification.cc 2009-05-19 22:23:51 UTC (rev 2993)
+++ trunk/src/orxonox/overlays/notifications/Notification.cc 2009-05-20 14:01:22 UTC (rev 2994)
@@ -57,7 +57,7 @@
@param message
The message of the Notification.
*/
- Notification::Notification(const std::string & message) : BaseObject(this)
+ Notification::Notification(const std::string & message) : BaseObject(NULL)
{
this->message_ = message;
}
Modified: trunk/src/orxonox/overlays/notifications/NotificationOverlay.cc
===================================================================
--- trunk/src/orxonox/overlays/notifications/NotificationOverlay.cc 2009-05-19 22:23:51 UTC (rev 2993)
+++ trunk/src/orxonox/overlays/notifications/NotificationOverlay.cc 2009-05-20 14:01:22 UTC (rev 2994)
@@ -58,7 +58,7 @@
/**
@brief
- Constructor. Initilaizes the class creates a graphical representation of the input Notification for the input Queue.
+ Constructor. Initializes the class creates a graphical representation of the input Notification for the input Queue.
@param queue
A pointer to the queue the NotificatonOverlay belongs to.
@param notification
@@ -66,7 +66,7 @@
@throws Argument
Throws an Argument-Exception if either no Notification or no NotificationQueue were input.
*/
- NotificationOverlay::NotificationOverlay(NotificationQueue* queue, Notification* notification) : OverlayText(this)
+ NotificationOverlay::NotificationOverlay(NotificationQueue* queue, Notification* notification) : OverlayText(NULL)
{
this->initialize();
More information about the Orxonox-commit
mailing list