try to make cppcheck happy
This commit is contained in:
@@ -7,9 +7,7 @@
|
||||
qmlWrapper::qmlWrapper()
|
||||
{
|
||||
qDebug("qmlWrapperKonstruktor");
|
||||
|
||||
startView myStartView;
|
||||
myStartView.show();
|
||||
myStartView = new startView();
|
||||
}
|
||||
|
||||
qmlWrapper::~qmlWrapper()
|
||||
@@ -17,3 +15,7 @@ qmlWrapper::~qmlWrapper()
|
||||
|
||||
}
|
||||
|
||||
void qmlWrapper::showStartView()
|
||||
{
|
||||
myStartView->show();
|
||||
}
|
||||
|
||||
@@ -1,12 +1,18 @@
|
||||
#ifndef QMLWRAPPER_H
|
||||
#define QMLWRAPPER_H
|
||||
|
||||
class startView;
|
||||
|
||||
class qmlWrapper
|
||||
{
|
||||
public:
|
||||
qmlWrapper();
|
||||
~qmlWrapper();
|
||||
|
||||
void showStartView();
|
||||
|
||||
private:
|
||||
startView *myStartView;
|
||||
};
|
||||
|
||||
#endif // QMLWRAPPER_H
|
||||
|
||||
@@ -12,6 +12,11 @@ startView::~startView()
|
||||
|
||||
}
|
||||
|
||||
startView::startView(const startView&)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void startView::show()
|
||||
{
|
||||
qDebug("show mal bitte");
|
||||
|
||||
@@ -7,6 +7,7 @@ class startView
|
||||
public:
|
||||
startView();
|
||||
~startView();
|
||||
startView(const startView&);
|
||||
|
||||
void show();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user