summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-24 21:19:34 (GMT)
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-24 21:22:32 (GMT)
commitf2cd5da550b29afe5a144a2448ee9d3c34db7c62 (patch)
treeeebbb61ed032173865050975b754efd2b9ef866b
parent8e2f15a696e966c93bfb51fc5a6d2b6ed1ca2f94 (diff)
Add missing ifdef to fix build
REVIEW: 129387
-rw-r--r--kstars/options/opscolors.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kstars/options/opscolors.cpp b/kstars/options/opscolors.cpp
index 56c7a11..9737b97 100644
--- a/kstars/options/opscolors.cpp
+++ b/kstars/options/opscolors.cpp
@@ -175,10 +175,12 @@ bool OpsColors::setColors( const QString &filename ) {
}
KStars::Instance()->map()->forceUpdate();
+#ifdef HAVE_CFITSIO
QList<FITSViewer *> viewers = KStars::Instance()->findChildren<FITSViewer *>();
foreach(FITSViewer *viewer, viewers){
viewer->getCurrentView()->updateFrame();
}
+#endif
return true;
}