Commit 7fb60fba authored by Leander Schulten's avatar Leander Schulten
Browse files

Fix smal build errors

parent 75b68d99
......@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
qRegisterMetaType<Modules::ProgramBlock::Status>("Status");
qRegisterMetaType<Modules::PropertiesVector*>("PropertiesVector*");
qRegisterMetaType<Driver::DMXQMLValue*>("DMXQMLValue*");
qRegisterMetaType<DMX::DMXChannelFilter*>("DMXChannelFilter*")
qRegisterMetaType<DMX::DMXChannelFilter*>("DMXChannelFilter*");
// Load Settings and ApplicationData
Settings::setLocalSettingFile(QFileInfo("settings.ini"));
......
......@@ -17,11 +17,6 @@ class SortedModelVectorView : public QSortFilterProxyModel
public:
SortedModelVectorView(QObject *parent = nullptr);
template<typename T>
SortedModelVectorView(IDBaseDataModel<T> * idBaseModel):QSortFilterProxyModel (idBaseModel){
QSortFilterProxyModel::setSourceModel(idBaseModel);
setSortRole(IDBaseDataModel<T>::ItemDataRole);
}
template<typename T>
SortedModelVectorView(ModelVector<T> * modelVector):QSortFilterProxyModel (modelVector){
QSortFilterProxyModel::setSourceModel(modelVector);
setSortRole(ModelVector<T>::ModelDataRole);
......
Supports Markdown
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