Declare default name for detail.
--HG-- branch : feature
This commit is contained in:
parent
83632bf284
commit
7eb4e806c0
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
#include <QCoreApplication>
|
||||||
|
|
||||||
#include "../vmisc/diagnostic.h"
|
#include "../vmisc/diagnostic.h"
|
||||||
|
|
||||||
|
@ -39,9 +40,10 @@ QT_WARNING_DISABLE_GCC("-Weffc++")
|
||||||
|
|
||||||
class VAbstractPieceData : public QSharedData
|
class VAbstractPieceData : public QSharedData
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(VAbstractPieceData)
|
||||||
public:
|
public:
|
||||||
VAbstractPieceData()
|
VAbstractPieceData()
|
||||||
: m_name(),
|
: m_name(tr("Detail")),
|
||||||
m_forbidFlipping(false),
|
m_forbidFlipping(false),
|
||||||
m_seamAllowance(false),
|
m_seamAllowance(false),
|
||||||
m_width(0)
|
m_width(0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user