Fix a test crash.

This commit is contained in:
Roman Telezhynskyi 2020-12-24 13:04:56 +02:00
parent 60c6c9e5f4
commit de6e4d6fed

View File

@ -29,7 +29,7 @@
#ifndef TESTVAPPLICATION_H #ifndef TESTVAPPLICATION_H
#define TESTVAPPLICATION_H #define TESTVAPPLICATION_H
#include "vabstractapplication.h" #include "vabstractvalapplication.h"
#include "projectversion.h" #include "projectversion.h"
#include "../vmisc/vsettings.h" #include "../vmisc/vsettings.h"
@ -40,12 +40,12 @@
class VTestSettings; class VTestSettings;
class TestVApplication : public VAbstractApplication class TestVApplication : public VAbstractValApplication
{ {
Q_OBJECT Q_OBJECT
public: public:
TestVApplication(int &argc, char ** argv) TestVApplication(int &argc, char ** argv)
: VAbstractApplication(argc, argv), : VAbstractValApplication(argc, argv),
m_trVars(nullptr) m_trVars(nullptr)
{ {
setApplicationName("ValentinaTest"); setApplicationName("ValentinaTest");