Commit e123c8fc authored by Akarsh Simha's avatar Akarsh Simha

Construct CatalogEntryData with nonsense values

parent 9ff96f57
......@@ -17,4 +17,18 @@
#include "catalogentrydata.h"
#include "../kstars/nan.h"
CatalogEntryData::CatalogEntryData() {
catalog_name = "Nil";
ID = -1;
long_name = "Nil";
ra = NaN::d;
dec = NaN::d;
type = -1;
magnitude = NaN::f;
position_angle = 0;
major_axis = NaN::f;
minor_axis = NaN::f;
flux = NaN::f;
};
......@@ -58,6 +58,8 @@
class CatalogEntryData {
public:
CatalogEntryData();
QString catalog_name;
int ID;
QString long_name;
......
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