a new try to a happy cppcheck
This commit is contained in:
@@ -1,13 +1,9 @@
|
|||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
#include "qmlwrapper.h"
|
#include "qmlwrapper.h"
|
||||||
|
|
||||||
#include "views/startview/startview.h"
|
|
||||||
|
|
||||||
|
|
||||||
qmlWrapper::qmlWrapper()
|
qmlWrapper::qmlWrapper()
|
||||||
{
|
{
|
||||||
qDebug("qmlWrapperKonstruktor");
|
qDebug("qmlWrapperKonstruktor");
|
||||||
myStartView = new startView();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
qmlWrapper::~qmlWrapper()
|
qmlWrapper::~qmlWrapper()
|
||||||
@@ -20,5 +16,5 @@ qmlWrapper::qmlWrapper(const qmlWrapper&)
|
|||||||
|
|
||||||
void qmlWrapper::showStartView()
|
void qmlWrapper::showStartView()
|
||||||
{
|
{
|
||||||
myStartView->show();
|
myStartView.show();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef QMLWRAPPER_H
|
#ifndef QMLWRAPPER_H
|
||||||
#define QMLWRAPPER_H
|
#define QMLWRAPPER_H
|
||||||
|
|
||||||
class startView;
|
#include "startview/startview.h"
|
||||||
|
|
||||||
class qmlWrapper
|
class qmlWrapper
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ public:
|
|||||||
void showStartView();
|
void showStartView();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
startView *myStartView;
|
startView myStartView;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // QMLWRAPPER_H
|
#endif // QMLWRAPPER_H
|
||||||
|
|||||||
Reference in New Issue
Block a user