summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos CARDINOT <[email protected]>2016-06-19 23:27:56 +0100
committerMarcos CARDINOT <[email protected]>2016-06-19 23:27:56 +0100
commitca2f58e8a4b6b44732ad000e7b26dac7965af589 (patch)
tree7bbbb5ba5b5dd1a7f396876ee359294e35f00b1d
parent8e43bc73cd0cd169283d5c649f8cd23a11d178c0 (diff)
fix warning - unused variable
-rw-r--r--kstars/fitsviewer/fitsview.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/kstars/fitsviewer/fitsview.cpp b/kstars/fitsviewer/fitsview.cpp
index 4f5e70b..8e1f7f0 100644
--- a/kstars/fitsviewer/fitsview.cpp
+++ b/kstars/fitsviewer/fitsview.cpp
@@ -236,7 +236,12 @@ void FITSLabel::centerTelescope(double raJ2000, double decJ2000)
KMessageBox::sorry(0, i18n("KStars did not find any active telescopes."));
-#endif
+#else
+
+ Q_UNUSED(raJ2000);
+ Q_UNUSED(decJ2000);
+
+#endif
}
FITSView::FITSView(QWidget * parent, FITSMode fitsMode, FITSScale filterType) : QScrollArea(parent) , zoomFactor(1.2)