try to make cppcheck happy again
This commit is contained in:
@@ -12,7 +12,10 @@ qmlWrapper::qmlWrapper()
|
||||
|
||||
qmlWrapper::~qmlWrapper()
|
||||
{
|
||||
}
|
||||
|
||||
qmlWrapper::qmlWrapper(const qmlWrapper&)
|
||||
{
|
||||
}
|
||||
|
||||
void qmlWrapper::showStartView()
|
||||
|
||||
@@ -8,6 +8,7 @@ class qmlWrapper
|
||||
public:
|
||||
qmlWrapper();
|
||||
~qmlWrapper();
|
||||
qmlWrapper(const qmlWrapper&);
|
||||
|
||||
void showStartView();
|
||||
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#include <QQmlApplicationEngine>
|
||||
#include "startview.h"
|
||||
|
||||
startView::startView()
|
||||
{
|
||||
qDebug("startViewKonstruktor");
|
||||
myEngine = new QQmlApplicationEngine();
|
||||
}
|
||||
|
||||
startView::~startView()
|
||||
@@ -20,5 +18,5 @@ startView::startView(const startView&)
|
||||
void startView::show()
|
||||
{
|
||||
qDebug("show mal bitte");
|
||||
myEngine->load(QUrl(QStringLiteral("qrc:/main.qml")));
|
||||
myEngine.load(QUrl(QStringLiteral("qrc:/main.qml")));
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#ifndef STARTVIEW_H
|
||||
#define STARTVIEW_H
|
||||
|
||||
class QQmlApplicationEngine;
|
||||
#include <QQmlApplicationEngine>
|
||||
|
||||
class startView
|
||||
{
|
||||
public:
|
||||
@@ -12,7 +13,7 @@ public:
|
||||
void show();
|
||||
|
||||
private:
|
||||
QQmlApplicationEngine *myEngine;
|
||||
QQmlApplicationEngine myEngine;
|
||||
};
|
||||
|
||||
#endif // STARTVIEW_H
|
||||
|
||||
Reference in New Issue
Block a user