Declare default name for detail.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-11-29 14:18:23 +02:00
parent 83632bf284
commit 7eb4e806c0

View File

@ -31,6 +31,7 @@
#include <QSharedData>
#include <QString>
#include <QCoreApplication>
#include "../vmisc/diagnostic.h"
@ -39,9 +40,10 @@ QT_WARNING_DISABLE_GCC("-Weffc++")
class VAbstractPieceData : public QSharedData
{
Q_DECLARE_TR_FUNCTIONS(VAbstractPieceData)
public:
VAbstractPieceData()
: m_name(),
: m_name(tr("Detail")),
m_forbidFlipping(false),
m_seamAllowance(false),
m_width(0)