Fixed QML_ELEMENT macro, preset steps model preperations

This commit is contained in:
2023-03-04 19:13:23 +01:00
parent c4b910d073
commit 4720c05cb1
27 changed files with 390 additions and 398 deletions

View File

@ -3,8 +3,6 @@
#include <algorithm>
#include <QDebug>
#include <QCoreApplication>
#include <QQmlEngine>
#include <QMutexLocker>
#include "iconutils.h"
@ -543,11 +541,3 @@ void DevicesModel::otherDevicePositionChanged(int row, const QVector3D &position
const auto index = this->index(row);
emit dataChanged(index, index, { PositionRole, PositionXRole, PositionYRole, PositionZRole });
}
namespace {
void registrierDenShit()
{
qmlRegisterType<DevicesModel>("scheincommander", 1, 0, "DevicesModel");
}
}
Q_COREAPP_STARTUP_FUNCTION(registrierDenShit)