Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Plugin-PropertyVis
Commits
cc155c62
Commit
cc155c62
authored
Oct 27, 2020
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed deprecation warning
parent
c44e7262
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
OpenMesh/OMPropertyModelT_impl.hh
OpenMesh/OMPropertyModelT_impl.hh
+5
-0
OpenVolumeMesh/OVMPropertyModelT_impl.hh
OpenVolumeMesh/OVMPropertyModelT_impl.hh
+5
-0
No files found.
OpenMesh/OMPropertyModelT_impl.hh
View file @
cc155c62
...
...
@@ -220,7 +220,12 @@ void OMPropertyModel<MeshT>::saveProperty()
template
<
typename
MeshT
>
bool
OMPropertyModel
<
MeshT
>::
parseHeader
(
QString
header
,
PropertyVisualizer
*&
propVis
,
unsigned
int
&
n
)
{
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
QStringList
headerParts
=
header
.
split
(
tr
(
", "
),
QString
::
SkipEmptyParts
);
#else
QStringList
headerParts
=
header
.
split
(
tr
(
", "
),
Qt
::
SkipEmptyParts
);
#endif
int
headerVersion
=
headerParts
[
0
].
toUInt
();
if
(
headerVersion
==
1
)
{
...
...
OpenVolumeMesh/OVMPropertyModelT_impl.hh
View file @
cc155c62
...
...
@@ -212,7 +212,12 @@ void OVMPropertyModel<MeshT>::mouseEvent(QMouseEvent* _event)
template
<
typename
MeshT
>
bool
OVMPropertyModel
<
MeshT
>::
parseHeader
(
QString
header
,
PropertyVisualizer
*&
propVis
,
unsigned
int
&
n
)
{
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
QStringList
headerParts
=
header
.
split
(
tr
(
", "
),
QString
::
SkipEmptyParts
);
#else
QStringList
headerParts
=
header
.
split
(
tr
(
", "
),
Qt
::
SkipEmptyParts
);
#endif
int
headerVersion
=
headerParts
[
0
].
toUInt
();
if
(
headerVersion
==
1
)
{
...
...
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