fix(sandboxapp): Fix build failed after spellchecking removing
This commit is contained in:
parent
99c7b33e1e
commit
7563fe699a
|
@ -6,7 +6,6 @@
|
||||||
#include <QDirIterator>
|
#include <QDirIterator>
|
||||||
|
|
||||||
#include "statuswindow.h"
|
#include "statuswindow.h"
|
||||||
#include "spellchecker.h"
|
|
||||||
|
|
||||||
SandboxApp::SandboxApp(int &argc, char **argv)
|
SandboxApp::SandboxApp(int &argc, char **argv)
|
||||||
: QGuiApplication(argc, argv)
|
: QGuiApplication(argc, argv)
|
||||||
|
@ -22,7 +21,6 @@ SandboxApp::SandboxApp(int &argc, char **argv)
|
||||||
void SandboxApp::startEngine()
|
void SandboxApp::startEngine()
|
||||||
{
|
{
|
||||||
qmlRegisterType<StatusWindow>("Sandbox", 0, 1, "StatusWindow");
|
qmlRegisterType<StatusWindow>("Sandbox", 0, 1, "StatusWindow");
|
||||||
qmlRegisterType<SpellChecker>("Sandbox", 0, 1, "Spellchecker");
|
|
||||||
|
|
||||||
#ifdef QT_DEBUG
|
#ifdef QT_DEBUG
|
||||||
const QUrl url = QUrl::fromLocalFile(SRC_DIR + QStringLiteral("/main.qml"));
|
const QUrl url = QUrl::fromLocalFile(SRC_DIR + QStringLiteral("/main.qml"));
|
||||||
|
|
Loading…
Reference in New Issue