Fixed QML_ELEMENT macro, preset steps model preperations
This commit is contained in:
1 parent
c4b910d073
commit
4720c05cb1
27 files changed
+390
-398
No files matched your search
@@ -3,8 +3,6 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QCoreApplication>
|
||||
#include <QQmlEngine>
|
||||
#include <QMutexLocker>
|
||||
|
||||
enum {
|
||||
@@ -363,11 +361,3 @@ void PresetsModel::otherPresetNameChanged(int row, const QString &name)
|
||||
const auto index = this->index(row);
|
||||
emit dataChanged(index, index, { Qt::DisplayRole, Qt::EditRole });
|
||||
}
|
||||
|
||||
namespace {
|
||||
void registrierDenShit()
|
||||
{
|
||||
qmlRegisterType<PresetsModel>("scheincommander", 1, 0, "PresetsModel");
|
||||
}
|
||||
}
|
||||
Q_COREAPP_STARTUP_FUNCTION(registrierDenShit)
|
||||
Reference in new issue
Block a user