Commit e508b0d3 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Merge branch 'master' of git://anongit.kde.org/kstars

parents 2f65d601 d8119902
...@@ -276,7 +276,7 @@ QString KStars::getOption( const QString &name ) { ...@@ -276,7 +276,7 @@ QString KStars::getOption( const QString &name ) {
} }
void KStars::changeViewOption( const QString &op, const QString &val ) { void KStars::changeViewOption( const QString &op, const QString &val ) {
bool bOk(false), nOk(false), dOk(false); bool bOk(false), dOk(false);
//parse bool value //parse bool value
bool bVal(false); bool bVal(false);
......
...@@ -78,13 +78,12 @@ bool AsteroidsComponent::selected() { ...@@ -78,13 +78,12 @@ bool AsteroidsComponent::selected() {
* @li 23 orbit classification [string] * @li 23 orbit classification [string]
*/ */
void AsteroidsComponent::loadData() { void AsteroidsComponent::loadData() {
QString line, name, full_name, orbit_id, orbit_class, dimensions; QString name, full_name, orbit_id, orbit_class, dimensions;
QStringList fields;
int mJD; int mJD;
double q, a, e, dble_i, dble_w, dble_N, dble_M, H, G, earth_moid; double q, a, e, dble_i, dble_w, dble_N, dble_M, H, G, earth_moid;
long double JD; long double JD;
float diameter, albedo, rot_period, period; float diameter, albedo, rot_period, period;
bool ok, neo; bool neo;
emitProgressText( i18n("Loading asteroids") ); emitProgressText( i18n("Loading asteroids") );
......
...@@ -78,10 +78,8 @@ bool CometsComponent::selected() { ...@@ -78,10 +78,8 @@ bool CometsComponent::selected() {
* @note See KSComet constructor for more details. * @note See KSComet constructor for more details.
*/ */
void CometsComponent::loadData() { void CometsComponent::loadData() {
QFile file; QString name, orbit_id, orbit_class, dimensions;
QString line, name, orbit_id, orbit_class, dimensions; bool neo;
QStringList fields;
bool ok, neo;
int mJD; int mJD;
double q, e, dble_i, dble_w, dble_N, Tp, earth_moid; double q, e, dble_i, dble_w, dble_N, Tp, earth_moid;
long double JD; long double JD;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment