forked from qt-creator/qt-creator
ModelEditor: Do not use member initializations in exported classes
Change-Id: I74a98fa4504f6a7dda7b3b8c4addb05118f37b00 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
namespace qmt {
|
||||
|
||||
Toolbar::Toolbar()
|
||||
: m_priority(-1)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -56,8 +56,7 @@ public:
|
||||
|
||||
Tool(const QString &name, const QString &elementType,
|
||||
const QString &stereotype = QString::null)
|
||||
: m_toolType(TooltypeTool),
|
||||
m_name(name),
|
||||
: m_name(name),
|
||||
m_elementType(elementType),
|
||||
m_stereotype(stereotype)
|
||||
{
|
||||
@@ -81,7 +80,7 @@ public:
|
||||
|
||||
private:
|
||||
QString m_id;
|
||||
int m_priority = -1;
|
||||
int m_priority;
|
||||
QList<Tool> m_tools;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user