Skip to content

Commit

Permalink
Refactor|TextureManifest: Return a new QFlags instance from TextureMa…
Browse files Browse the repository at this point in the history
…nifest::flags()

Tis the "Qt-way".
  • Loading branch information
danij-deng committed Mar 1, 2013
1 parent 7fcdfa5 commit b3cb674
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doomsday/client/include/resource/texturemanifest.h
Expand Up @@ -159,7 +159,7 @@ class TextureManifest : public PathTree::Node
/**
* Returns the texture flags property of the manifest.
*/
Texture::Flags &flags();
Texture::Flags flags() const;

/**
* Returns @c true if a Texture is presently associated with the manifest.
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/src/resource/texturemanifest.cpp
Expand Up @@ -138,7 +138,7 @@ bool TextureManifest::setUniqueId(int newUniqueId)
return true;
}

Texture::Flags &TextureManifest::flags()
Texture::Flags TextureManifest::flags() const
{
return d->flags;
}
Expand Down

0 comments on commit b3cb674

Please sign in to comment.