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
8e771f61
Commit
8e771f61
authored
Nov 18, 2022
by
Alexander Wiebel
Browse files
[
#773
FIX] remove unused variable warning
using fancy c++17 feature
parent
359bb174
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/qtgui/controlPanel/transferFunction2D/WTransferFunction2DGUIWidget.cpp
...Panel/transferFunction2D/WTransferFunction2DGUIWidget.cpp
+4
-1
src/qtgui/controlPanel/transferFunction2D/WTransferFunction2DGUIWidget.h
...olPanel/transferFunction2D/WTransferFunction2DGUIWidget.h
+1
-1
No files found.
src/qtgui/controlPanel/transferFunction2D/WTransferFunction2DGUIWidget.cpp
View file @
8e771f61
...
...
@@ -305,7 +305,10 @@ void WTransferFunction2DGUIWidget::insertWidget( Shapes shape,
dataChanged
();
}
void
WTransferFunction2DGUIWidget
::
updateWidget
(
Shapes
shape
,
std
::
vector
<
QPointF
>
points
,
const
QColor
*
const
color
,
const
QPointF
&
pos
)
void
WTransferFunction2DGUIWidget
::
updateWidget
(
Shapes
shape
,
std
::
vector
<
QPointF
>
points
,
const
QColor
*
const
color
,
[[
maybe_unused
]]
const
QPointF
&
pos
)
{
WTransferFunction2DShapeWidget
*
newShapeWidget
(
new
WTransferFunction2DShapeWidget
(
this
,
shape
,
*
color
,
points
)
);
scene
->
addItem
(
newShapeWidget
);
...
...
src/qtgui/controlPanel/transferFunction2D/WTransferFunction2DGUIWidget.h
View file @
8e771f61
...
...
@@ -128,7 +128,7 @@ public:
* @param color
* @param pos
*/
void
updateWidget
(
Shapes
shape
,
std
::
vector
<
QPointF
>
points
,
const
QColor
*
const
color
,
const
QPointF
&
pos
);
void
updateWidget
(
Shapes
shape
,
std
::
vector
<
QPointF
>
points
,
const
QColor
*
const
color
,
[[
maybe_unused
]]
const
QPointF
&
pos
);
/**
* @brief Get the pointer to the Animator connected to the 2DTF
...
...
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