summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/addcatdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/addcatdialog.cpp')
-rw-r--r--kstars/kstars/addcatdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/kstars/addcatdialog.cpp b/kstars/kstars/addcatdialog.cpp
index 86c2b6dd..22c35355 100644
--- a/kstars/kstars/addcatdialog.cpp
+++ b/kstars/kstars/addcatdialog.cpp
@@ -106,7 +106,7 @@ void AddCatDialog::slotHelp() {
* Position angle: floating-point value (position angle, in degrees)
*/
bool AddCatDialog::validateDataFile() {
- KStars *ksw = (KStars*) tqtopLevelWidget()->parent();
+ KStars *ksw = (KStars*) topLevelWidget()->parent();
//Create the catalog file contents: first the header
CatalogContents = writeCatalogHeader();