Fixed QML_ELEMENT macro, preset steps model preperations
This commit is contained in:
@ -1,8 +1,5 @@
|
||||
#include "scheincommandersettings.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QQmlEngine>
|
||||
|
||||
namespace {
|
||||
const char KEY_lastProjectFile[] = "lastProjectFile";
|
||||
}
|
||||
@ -17,12 +14,3 @@ void ScheinCommanderSettings::setLastProjectFile(const QString &lastProjectFile)
|
||||
setValue(KEY_lastProjectFile, lastProjectFile);
|
||||
emit lastProjectFileChanged(lastProjectFile);
|
||||
}
|
||||
|
||||
namespace {
|
||||
void registrierDenShit()
|
||||
{
|
||||
qmlRegisterType<ScheinCommanderSettings>("scheincommander", 1, 0, "ScheinCommanderSettings");
|
||||
}
|
||||
}
|
||||
Q_COREAPP_STARTUP_FUNCTION(registrierDenShit)
|
||||
|
||||
|
Reference in New Issue
Block a user