Commit 4b11253b authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Initialize member variable.

parent fb362cf4
......@@ -40,6 +40,7 @@ class SkeletonResourcePrivate
public:
SkeletonResourcePrivate(ResourceManager *resourceManager)
: m_resourceManager(resourceManager)
, m_type(ResourceInterface::SkeletonResourceType)
, m_skeletonResource(nullptr)
{
}
......@@ -61,7 +62,6 @@ SkeletonResource::SkeletonResource(ResourceManager *resourceManager, const QUrl
: ResourceInterface(resourceManager)
, d(new SkeletonResourcePrivate(resourceManager))
{
d->m_type = ResourceInterface::SkeletonResourceType;
d->m_path = path;
// load basic information from language file, but does not parse everything
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment