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