summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkarsh Simha <akarsh@kde.org>2016-08-17 00:59:10 (GMT)
committerAkarsh Simha <akarsh@kde.org>2016-08-17 00:59:10 (GMT)
commit0dc3bfa9fba29ab23ccb7bc0b405d15c0bc75bff (patch)
tree6e1ff90f95c51391dddec986ff31bcd38b8f2d23
parenteff0e53162bbcf17b56976cd7c2356a4615727ca (diff)
Cosmetics
-rw-r--r--kstars/skyobjects/deepskyobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kstars/skyobjects/deepskyobject.cpp b/kstars/skyobjects/deepskyobject.cpp
index cae5079..c5dd8fb 100644
--- a/kstars/skyobjects/deepskyobject.cpp
+++ b/kstars/skyobjects/deepskyobject.cpp
@@ -120,7 +120,7 @@ void DeepSkyObject::setCatalog( const QString &cat ) {
else if ( cat.toUpper() == "NGC" ) Catalog = (unsigned char)CAT_NGC;
else if ( cat.toUpper() == "IC" ) Catalog = (unsigned char)CAT_IC;
else Catalog = (unsigned char)CAT_UNKNOWN;
-}
+}
void DeepSkyObject::loadImage()
{
@@ -162,7 +162,7 @@ QString DeepSkyObject::labelString() const {
SkyObject::UID DeepSkyObject::getUID() const
{
// mag takes 10 bit
- SkyObject::UID m = mag()*10;
+ SkyObject::UID m = mag()*10;
if( m < 0 ) m = 0;
// Both RA & dec fits in 24-bits
@@ -173,7 +173,7 @@ SkyObject::UID DeepSkyObject::getUID() const
assert("RA should fit into 24bits" && ra>=0 && ra <(1<<24));
assert("Dec should fit into 24bits" && dec>=0 && dec<(1<<24));
- // Choose kind of
+ // Choose kind of
SkyObject::UID kind = type() == SkyObject::GALAXY ? SkyObject::UID_GALAXY : SkyObject::UID_DEEPSKY;
return (kind << 60) | (m << 48) | (ra << 24) | dec;
}