Scenery3dDialog_p.hpp   Scenery3dDialog_p.hpp 
skipping to change at line 25 skipping to change at line 25
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef _SCENERY3DDIALOG_P_HPP_ #ifndef _SCENERY3DDIALOG_P_HPP_
#define _SCENERY3DDIALOG_P_HPP_ #define _SCENERY3DDIALOG_P_HPP_
#include "S3DEnum.hpp" #include "S3DEnum.hpp"
#include "Scenery3dMgr.hpp" #include "Scenery3d.hpp"
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelModuleMgr.hpp" #include "StelModuleMgr.hpp"
#include "StelTranslator.hpp" #include "StelTranslator.hpp"
#include <QAbstractListModel> #include <QAbstractListModel>
class CubemapModeListModel : public QAbstractListModel class CubemapModeListModel : public QAbstractListModel
{ {
Q_OBJECT Q_OBJECT
private: private:
Scenery3dMgr* mgr; Scenery3d* mgr;
public: public:
CubemapModeListModel(QObject* parent = NULL) : QAbstractListModel(pa rent) CubemapModeListModel(QObject* parent = Q_NULLPTR) : QAbstractListMod el(parent)
{ {
mgr = GETSTELMODULE(Scenery3dMgr); mgr = GETSTELMODULE(Scenery3d);
Q_ASSERT(mgr); Q_ASSERT(mgr);
} }
int rowCount(const QModelIndex &parent) const int rowCount(const QModelIndex &parent) const
{ {
Q_UNUSED(parent); Q_UNUSED(parent);
if(mgr->getIsANGLE()) if(mgr->getIsANGLE())
{ {
return 1; return 1;
} }
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 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/