Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
55c69f66
Commit
55c69f66
authored
7 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
WRG: unused argument, shadow variable
parent
a740884c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetListEditItemModel.cxx
+5
-5
5 additions, 5 deletions
...pers/QtWidget/src/otbWrapperQtWidgetListEditItemModel.cxx
Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetView.cxx
+1
-1
1 addition, 1 deletion
Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetView.cxx
with
6 additions
and
6 deletions
Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetListEditItemModel.cxx
+
5
−
5
View file @
55c69f66
...
...
@@ -295,21 +295,21 @@ ListEditItemModel
/*****************************************************************************/
bool
ListEditItemModel
::
insertRow
(
int
row
,
const
QModelIndex
&
p
arent
)
::
insertRow
(
int
row
,
const
QModelIndex
&
idxP
arent
)
{
return
insertRows
(
row
,
1
,
p
arent
);
return
insertRows
(
row
,
1
,
idxP
arent
);
}
/*****************************************************************************/
bool
ListEditItemModel
::
insertRows
(
int
row
,
int
count
,
const
QModelIndex
&
p
arent
)
::
insertRows
(
int
row
,
int
count
,
const
QModelIndex
&
idxP
arent
)
{
// qDebug() << this << "::insertRows(" << row << "," << count << "," <<
p
arent << ")";
// qDebug() << this << "::insertRows(" << row << "," << count << "," <<
idxP
arent << ")";
assert
(
m_StringList
!=
nullptr
);
beginInsertRows
(
p
arent
,
row
,
count
);
beginInsertRows
(
idxP
arent
,
row
,
count
);
{
for
(
int
r
=
row
;
r
<
row
+
count
;
++
r
)
m_StringList
->
Insert
(
""
,
r
);
...
...
This diff is collapsed.
Click to expand it.
Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetView.cxx
+
1
−
1
View file @
55c69f66
...
...
@@ -194,7 +194,7 @@ void QtWidgetView::UnhandledException(QString message)
m_LogText
->
append
(
message
);
}
void
QtWidgetView
::
OnExceptionRaised
(
QString
message
)
void
QtWidgetView
::
OnExceptionRaised
(
QString
/*
message
*/
)
{
m_TabWidget
->
setCurrentIndex
(
1
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment