Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vite
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
vite
Commits
a6f2c4cf
Commit
a6f2c4cf
authored
Dec 02, 2018
by
Mathieu Faverge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply patch 99 from issue
#13
- Fix distribution plugin
parent
be838038
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
plugins/Distribution/Distribution.cpp
plugins/Distribution/Distribution.cpp
+3
-3
No files found.
plugins/Distribution/Distribution.cpp
View file @
a6f2c4cf
...
...
@@ -96,7 +96,7 @@ private:
it
!=
children
->
end
();
it
++
)
{
// We create the node and we do the recursivity
std
::
string
name
=
(
*
it
)
->
get_name
().
to_string
();
const
std
::
string
&
name
=
(
*
it
)
->
get_name
();
QStringList
temp
(
QString
::
fromStdString
(
name
));
QTreeWidgetItem
*
current_node
=
new
QTreeWidgetItem
((
QTreeWidgetItem
*
)
root_node
,
temp
);
...
...
@@ -116,7 +116,7 @@ private:
QFlags
<
Qt
::
ItemFlag
>
flg
=
Qt
::
ItemIsUserCheckable
|
Qt
::
ItemIsEnabled
|
Qt
::
ItemIsSelectable
|
Qt
::
ItemIsTristate
;
for
(
std
::
list
<
Container
*>::
const_iterator
it
=
root_containers
->
begin
();
it
!=
root_containers
->
end
();
it
++
)
{
std
::
string
name
=
(
*
it
)
->
get_name
().
to_string
();
const
std
::
string
&
name
=
(
*
it
)
->
get_name
();
QStringList
temp
(
QString
::
fromStdString
(
name
));
QTreeWidgetItem
*
current_node
=
new
QTreeWidgetItem
((
QTreeWidgetItem
*
)
0
,
temp
);
...
...
@@ -188,7 +188,7 @@ private:
str
=
""
;
}
std
::
string
name
=
container
->
get_name
().
to_string
();
const
std
::
string
&
name
=
container
->
get_name
();
str
.
append
(
name
);
...
...
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