Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
KStars
Commits
e508b0d3
Commit
e508b0d3
authored
Nov 02, 2013
by
Jasem Mutlaq
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://anongit.kde.org/kstars
parents
2f65d601
d8119902
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
kstars/kstarsdcop.cpp
kstars/kstarsdcop.cpp
+1
-1
kstars/skycomponents/asteroidscomponent.cpp
kstars/skycomponents/asteroidscomponent.cpp
+2
-3
kstars/skycomponents/cometscomponent.cpp
kstars/skycomponents/cometscomponent.cpp
+2
-4
No files found.
kstars/kstarsdcop.cpp
View file @
e508b0d3
...
...
@@ -276,7 +276,7 @@ QString KStars::getOption( const QString &name ) {
}
void
KStars
::
changeViewOption
(
const
QString
&
op
,
const
QString
&
val
)
{
bool
bOk
(
false
),
nOk
(
false
),
dOk
(
false
);
bool
bOk
(
false
),
dOk
(
false
);
//parse bool value
bool
bVal
(
false
);
...
...
kstars/skycomponents/asteroidscomponent.cpp
View file @
e508b0d3
...
...
@@ -78,13 +78,12 @@ bool AsteroidsComponent::selected() {
* @li 23 orbit classification [string]
*/
void
AsteroidsComponent
::
loadData
()
{
QString
line
,
name
,
full_name
,
orbit_id
,
orbit_class
,
dimensions
;
QStringList
fields
;
QString
name
,
full_name
,
orbit_id
,
orbit_class
,
dimensions
;
int
mJD
;
double
q
,
a
,
e
,
dble_i
,
dble_w
,
dble_N
,
dble_M
,
H
,
G
,
earth_moid
;
long
double
JD
;
float
diameter
,
albedo
,
rot_period
,
period
;
bool
ok
,
neo
;
bool
neo
;
emitProgressText
(
i18n
(
"Loading asteroids"
)
);
...
...
kstars/skycomponents/cometscomponent.cpp
View file @
e508b0d3
...
...
@@ -78,10 +78,8 @@ bool CometsComponent::selected() {
* @note See KSComet constructor for more details.
*/
void
CometsComponent
::
loadData
()
{
QFile
file
;
QString
line
,
name
,
orbit_id
,
orbit_class
,
dimensions
;
QStringList
fields
;
bool
ok
,
neo
;
QString
name
,
orbit_id
,
orbit_class
,
dimensions
;
bool
neo
;
int
mJD
;
double
q
,
e
,
dble_i
,
dble_w
,
dble_N
,
Tp
,
earth_moid
;
long
double
JD
;
...
...
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