Commit c29ef846 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Fix ifdefs to compile without cfitsio/lite

REVIEW:129387
parent eb2453ac
......@@ -17,6 +17,8 @@
#include "opscolors.h"
#include <config-kstars.h>
#include <QFile>
#include <QPixmap>
#include <QTextStream>
......@@ -36,8 +38,12 @@
#include "kstarsdata.h"
#include "skymap.h"
#include "colorscheme.h"
#ifdef HAVE_CFITSIO
#include "fitsviewer/fitsviewer.h"
#include "fitsviewer/fitsview.h"
#endif
#include "skyobjects/starobject.h"
static int ItemColorData = Qt::UserRole + 1;
......@@ -129,10 +135,13 @@ void OpsColors::newColor( QListWidgetItem *item ) {
}
KStars::Instance()->map()->forceUpdate();
#ifdef HAVE_CFITSIO
QList<FITSViewer *> viewers = KStars::Instance()->findChildren<FITSViewer *>();
foreach(FITSViewer *viewer, viewers){
viewer->getCurrentView()->updateFrame();
}
#endif
}
void OpsColors::slotPreset( int index ) {
......
......@@ -15,16 +15,16 @@
* *
***************************************************************************/
#include <QDebug>
#include "starblock.h"
#include "skyobjects/starobject.h"
#include "starcomponent.h"
#include "skyobjects/stardata.h"
#include "skyobjects/deepstardata.h"
#include "skymaplite.h"
#include <QDebug>
#ifdef KSTARS_LITE
#include "skymaplite.h"
#include "kstarslite/skyitems/skynodes/pointsourcenode.h"
StarNode::StarNode()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment