SkyGui.cpp   SkyGui.cpp 
skipping to change at line 33 skipping to change at line 33
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelGui.hpp" #include "StelGui.hpp"
#include "StelCore.hpp" #include "StelCore.hpp"
#include <QGraphicsView> #include <QGraphicsView>
#include <QDebug> #include <QDebug>
#include <QTimeLine> #include <QTimeLine>
#include <QGraphicsSceneMouseEvent> #include <QGraphicsSceneMouseEvent>
#include <QSettings> #include <QSettings>
#include <QTextDocument> #include <QTextDocument>
#ifdef _MSC_BUILD
#define round(dbl) dbl >= 0.0 ? (int)(dbl + 0.5) : ((dbl - (double)(int)dbl
) <= -0.5 ? (int)dbl : (int)(dbl - 0.5))
#endif
InfoPanel::InfoPanel(QGraphicsItem* parent) : QGraphicsTextItem("", parent) InfoPanel::InfoPanel(QGraphicsItem* parent) : QGraphicsTextItem("", parent)
{ {
QSettings* conf = StelApp::getInstance().getSettings(); QSettings* conf = StelApp::getInstance().getSettings();
Q_ASSERT(conf); Q_ASSERT(conf);
QString objectInfo = conf->value("gui/selected_object_info", "all"). toString(); QString objectInfo = conf->value("gui/selected_object_info", "all"). toString();
if (objectInfo == "all") if (objectInfo == "all")
{ {
infoTextFilters = StelObject::InfoStringGroup(StelObject::Al lInfo); infoTextFilters = StelObject::InfoStringGroup(StelObject::Al lInfo);
} }
else if (objectInfo == "short") else if (objectInfo == "short")
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/