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
KStars
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Robert Lancaster
KStars
Commits
c859850b
Commit
c859850b
authored
Apr 11, 2020
by
Akarsh Simha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor: const correctness
parent
f2e080d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
kstars/skymap.cpp
kstars/skymap.cpp
+1
-1
kstars/skymap.h
kstars/skymap.h
+1
-1
No files found.
kstars/skymap.cpp
View file @
c859850b
...
@@ -999,7 +999,7 @@ void SkyMap::setDestinationAltAz(const dms &alt, const dms &az)
...
@@ -999,7 +999,7 @@ void SkyMap::setDestinationAltAz(const dms &alt, const dms &az)
emit
destinationChanged
();
emit
destinationChanged
();
}
}
void
SkyMap
::
setClickedPoint
(
SkyPoint
*
f
)
void
SkyMap
::
setClickedPoint
(
const
SkyPoint
*
f
)
{
{
ClickedPoint
=
*
f
;
ClickedPoint
=
*
f
;
}
}
...
...
kstars/skymap.h
View file @
c859850b
...
@@ -232,7 +232,7 @@ class SkyMap : public QGraphicsView
...
@@ -232,7 +232,7 @@ class SkyMap : public QGraphicsView
/** @short Set the ClickedPoint to the skypoint given as an argument.
/** @short Set the ClickedPoint to the skypoint given as an argument.
*@param f pointer to the new ClickedPoint.
*@param f pointer to the new ClickedPoint.
*/
*/
void
setClickedPoint
(
SkyPoint
*
f
);
void
setClickedPoint
(
const
SkyPoint
*
f
);
/** @short Retrieve the object nearest to a mouse click event.
/** @short Retrieve the object nearest to a mouse click event.
*
*
...
...
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