Commit f00834dc authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[DOC] fixed copy and paste error

parent e7d8cb5e
......@@ -254,7 +254,7 @@ bool WQtDatasetBrowser::event( QEvent* event )
WModuleReadyEvent* e = dynamic_cast< WModuleReadyEvent* >( event ); // NOLINT
if ( !e )
{
// this should never happen, since the type is set to WQT_Ready_EVENT.
// this should never happen, since the type is set to WQT_READY_EVENT.
WLogger::getLogger()->addLogMessage( "Event is not an WModueReadyEvent although its type claims it. Ignoring event.",
"DatasetBrowser", LL_WARNING );
......@@ -283,7 +283,7 @@ bool WQtDatasetBrowser::event( QEvent* event )
WModuleConnectEvent* e = dynamic_cast< WModuleConnectEvent* >( event ); // NOLINT
if ( !e )
{
// this should never happen, since the type is set to WQT_Ready_EVENT.
// this should never happen, since the type is set to WQT_MODULE_CONNECT_EVENT.
WLogger::getLogger()->addLogMessage( "Event is not an WModuleConnectEvent although its type claims it. Ignoring event.",
"DatasetBrowser", LL_WARNING );
return true;
......@@ -325,7 +325,7 @@ bool WQtDatasetBrowser::event( QEvent* event )
WModuleDisconnectEvent* e = dynamic_cast< WModuleDisconnectEvent* >( event ); // NOLINT
if ( !e )
{
// this should never happen, since the type is set to WQT_Ready_EVENT.
// this should never happen, since the type is set to WQT_MODULE_DISCONNECT_EVENT.
WLogger::getLogger()->addLogMessage( "Event is not an WModuleDisconnectEvent although its type claims it. Ignoring event.",
"DatasetBrowser", LL_WARNING );
return true;
......@@ -375,10 +375,10 @@ bool WQtDatasetBrowser::event( QEvent* event )
// a module tree item should be deleted
if ( event->type() == WQT_MODULE_DELETE_EVENT )
{
WModuleDeleteEvent* e = dynamic_cast< WModuleDeleteEvent* >( event ); // NOLINT
WModuleDeleteEvent* e = dynamic_cast< WModuleDeleteEvent* >( event );
if ( !e )
{
// this should never happen, since the type is set to WQT_Ready_EVENT.
// this should never happen, since the type is set to WQT_MODULE_DELETE_EVENT.
WLogger::getLogger()->addLogMessage( "Event is not an WModuleDeleteEvent although its type claims it. Ignoring event.",
"DatasetBrowser", LL_WARNING );
return true;
......@@ -406,10 +406,10 @@ bool WQtDatasetBrowser::event( QEvent* event )
// a module was removed from the container
if ( event->type() == WQT_MODULE_REMOVE_EVENT )
{
WModuleRemovedEvent* e = dynamic_cast< WModuleRemovedEvent* >( event ); // NOLINT
WModuleRemovedEvent* e = dynamic_cast< WModuleRemovedEvent* >( event );
if ( !e )
{
// this should never happen, since the type is set to WQT_Ready_EVENT.
// this should never happen, since the type is set to WQT_MODULE_REMOVE_EVENT.
WLogger::getLogger()->addLogMessage( "Event is not an WModuleRemovedEvent although its type claims it. Ignoring event.",
"DatasetBrowser", LL_WARNING );
return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment