summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kstarsdcop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/kstarsdcop.cpp')
-rw-r--r--kstars/kstars/kstarsdcop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/kstars/kstarsdcop.cpp b/kstars/kstars/kstarsdcop.cpp
index bc1f4ff4..ce1e7c50 100644
--- a/kstars/kstars/kstarsdcop.cpp
+++ b/kstars/kstars/kstarsdcop.cpp
@@ -420,7 +420,7 @@ void KStars::exportImage( const TQString url, int w, int h ) {
else if ( ext.lower() == "bmp" ) { format = "BMP"; }
else { kdWarning() << i18n( "Could not parse image format of %1; assuming PNG." ).arg( fname ) << endl; }
- map()->exportSkyImage( TQT_TQPAINTDEVICE(&skyimage) );
+ map()->exportSkyImage( &skyimage );
kapp->processEvents(10000);
//skyImage is the size of the sky map. The requested image size is w x h.