diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:48:10 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-03 22:54:07 +0900 |
commit | f08f58fdc18573fbdf637e872a0a4646be58628c (patch) | |
tree | 32f6f2b36cfb27b11ed74eafef1933fc3fddf3bd /kstars | |
parent | 82c5609d05e453863a10f1d77a925dc1c7abdd31 (diff) | |
download | tdeedu-f08f58fdc18573fbdf637e872a0a4646be58628c.tar.gz tdeedu-f08f58fdc18573fbdf637e872a0a4646be58628c.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kstars')
-rw-r--r-- | kstars/kstars/kstarsdcop.cpp | 2 | ||||
-rw-r--r-- | kstars/kstars/main.cpp | 2 |
2 files changed, 2 insertions, 2 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. diff --git a/kstars/kstars/main.cpp b/kstars/kstars/main.cpp index c9024d33..021964e9 100644 --- a/kstars/kstars/main.cpp +++ b/kstars/kstars/main.cpp @@ -162,7 +162,7 @@ int main(int argc, char *argv[]) kapp->processEvents(100000); map->setMapGeometry(); - map->exportSkyImage( TQT_TQPAINTDEVICE(&sky) ); + map->exportSkyImage( &sky ); kapp->processEvents(100000); if ( ! sky.save( fname, format ) ) kdWarning() << i18n( "Unable to save image: %1 " ).arg( fname ) << endl; |