Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SkywardHub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
SkywardHub
Commits
66873a23
Commit
66873a23
authored
10 months ago
by
Raul Radu
Browse files
Options
Downloads
Patches
Plain Diff
[ARPStateViewer] Minor Rework with smart pointers
parent
f6b0d3ba
Branches
Branches containing commit
No related tags found
1 merge request
!43
[Codebase] Refactoring with smart pointers and changed implementation of Message Broker
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/shared/Modules/ARPStateViewer/ARPStateViewer.cpp
+2
-2
2 additions, 2 deletions
src/shared/Modules/ARPStateViewer/ARPStateViewer.cpp
src/shared/Modules/ARPStateViewer/ARPStateViewer.h
+1
-1
1 addition, 1 deletion
src/shared/Modules/ARPStateViewer/ARPStateViewer.h
with
3 additions
and
3 deletions
src/shared/Modules/ARPStateViewer/ARPStateViewer.cpp
+
2
−
2
View file @
66873a23
...
...
@@ -47,7 +47,7 @@ void ARPStateViewerModule::fromXmlObject(const XmlObject& xmlObject)
void
ARPStateViewerModule
::
setupUi
()
{
outerLayout
=
new
QHBoxLayout
;
outerLayout
=
std
::
make_unique
<
QHBoxLayout
>
()
;
outerLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
outerLayout
->
setSpacing
(
0
);
...
...
@@ -60,7 +60,7 @@ void ARPStateViewerModule::setupUi()
outerLayout
->
addWidget
(
label
);
}
setLayout
(
outerLayout
);
setLayout
(
outerLayout
.
get
()
);
}
void
ARPStateViewerModule
::
customContextMenuActionSetup
()
...
...
This diff is collapsed.
Click to expand it.
src/shared/Modules/ARPStateViewer/ARPStateViewer.h
+
1
−
1
View file @
66873a23
...
...
@@ -47,7 +47,7 @@ private:
void
setFilter
(
const
Filter
&
filter
);
void
onMsgReceived
(
const
Message
&
msg
);
QHBoxLayout
*
outerLayout
;
std
::
unique_ptr
<
QHBoxLayout
>
outerLayout
;
Filter
filter
;
ARPStatesList
::
State
currentState
;
...
...
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