Skip to content

Commit

Permalink
Fix Linux compilation issue
Browse files Browse the repository at this point in the history
I got some reports of having difficulties compiling HaloRay without
adding an include for QAbstractItemModel because of the checkIndex call.
QAbstractItemModel is a grandparent class for CrystalModel, and I have
been able to succesfully compile everything without the explicit
include, but it does not hurt to have it either.
  • Loading branch information
naavis committed Jul 20, 2019
1 parent 64ded0d commit 6e1e795
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/crystalModel.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "crystalModel.h"
#include <QAbstractItemModel>

CrystalModel::CrystalModel(std::shared_ptr<HaloSim::CrystalPopulationRepository> crystalRepository, QWidget *parent)
: QAbstractTableModel(parent),
Expand Down

0 comments on commit 6e1e795

Please sign in to comment.