Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
f00834dc
Commit
f00834dc
authored
Aug 05, 2010
by
Alexander Wiebel
Browse files
[DOC] fixed copy and paste error
parent
e7d8cb5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/gui/qt4/datasetbrowser/WQtDatasetBrowser.cpp
src/gui/qt4/datasetbrowser/WQtDatasetBrowser.cpp
+7
-7
No files found.
src/gui/qt4/datasetbrowser/WQtDatasetBrowser.cpp
View file @
f00834dc
...
...
@@ -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_R
eady
_EVENT.
// this should never happen, since the type is set to WQT_R
EADY
_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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment