summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools/modcalcgeodcoord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/tools/modcalcgeodcoord.cpp')
-rw-r--r--kstars/kstars/tools/modcalcgeodcoord.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/kstars/tools/modcalcgeodcoord.cpp b/kstars/kstars/tools/modcalcgeodcoord.cpp
index 10f2aba0..2f750758 100644
--- a/kstars/kstars/tools/modcalcgeodcoord.cpp
+++ b/kstars/kstars/tools/modcalcgeodcoord.cpp
@@ -58,7 +58,7 @@ modCalcGeodCoord::~modCalcGeodCoord(){
void modCalcGeodCoord::showLongLat(void)
{
- KStars *ks = (KStars*) tqparent()->tqparent()->tqparent(); // TQSplitter->AstroCalc->KStars
+ KStars *ks = (KStars*) parent()->parent()->parent(); // TQSplitter->AstroCalc->KStars
lonGeoBox->show( ks->geo()->lng() );
latGeoBox->show( ks->geo()->lat() );
altGeoBox->setText( TQString("0.0") );